]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1855: Makefile: using non-portable syntax v9.1.1855
authorChristian Brabandt <cb@256bit.org>
Tue, 14 Oct 2025 18:30:38 +0000 (18:30 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 14 Oct 2025 18:35:37 +0000 (18:35 +0000)
Problem:  Makefile: using non-portable syntax
          (Jonathan Schleifer)
Solution: Remove duplicate parenthesis

closes: #18542

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/Makefile
src/version.c

index 19f2a3fbf017e8910dea6487bdb7704377532d79..6fb1eb95e284019c0630a5c2f2fca040abf98da9 100644 (file)
@@ -3120,7 +3120,7 @@ auto/pathdef.c: Makefile auto/config.mk
        -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@
        -@if test -n "$(COMPILEDBY)"; then \
                echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \
-               else ((logname) 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
+               else (logname 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
        -@echo '";' >> $@
        -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@
        -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi
index 50a40d38a80737d9eb56837ebce15f3b8970293a..e9ff82a997c215eb281d2751b0711ecc92e20a96 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1855,
 /**/
     1854,
 /**/