patch 9.1.1855: Makefile: using non-portable syntax
Commit:
https://github.com/vim/vim/commit/e15cd0f0656b84aa363d93545289aa1d4fe51925
Author: Christian Brabandt <[email protected]>
Date: Tue Oct 14 18:30:38 2025 +0000
patch 9.1.1855: Makefile: using non-portable syntax
Problem: Makefile: using non-portable syntax
(Jonathan Schleifer)
Solution: Remove duplicate parenthesis
closes: #18542
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/Makefile b/src/Makefile
index 19f2a3fbf..6fb1eb95e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -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
diff --git a/src/version.c b/src/version.c
index 50a40d38a..e9ff82a99 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1855,
/**/
1854,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1v8k19-00Eivj-Oi%40256bit.org.