Commit: patch 9.1.1911: build failure on Solaris with gcc 5

0 views
Skip to first unread message

Christian Brabandt

unread,
Nov 13, 2025, 7:27:05 AM (9 days ago) Nov 13
to vim...@googlegroups.com
patch 9.1.1911: build failure on Solaris with gcc 5

Commit: https://github.com/vim/vim/commit/c44e5ae529ba3547202121f9181a9be5c643aee9
Author: Christian Brabandt <c...@256bit.org>
Date: Wed Nov 12 20:04:18 2025 +0000

patch 9.1.1911: build failure on Solaris with gcc 5

Problem: build failure on Solaris Sparc with gcc 5
(idgn23, after v9.1.1736)
Solution: Correctly initialize the key_name variable.

fixes: #18693

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/term.c b/src/term.c
index 4c365b19b..c317ca601 100644
--- a/src/term.c
+++ b/src/term.c
@@ -5362,7 +5362,7 @@ put_key_modifiers_in_typebuf(
static int
parse_csi_f_keys(int arg)
{
- char_u key_name[2] = "";
+ char_u key_name[2] = { 0, 0 };

switch (arg)
{
diff --git a/src/version.c b/src/version.c
index eea70581f..5212d1888 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 */
+/**/
+ 1911,
/**/
1910,
/**/
Reply all
Reply to author
Forward
0 new messages