patch 9.1.1911: build failure on Solaris with gcc 5

Commit: 
https://github.com/vim/vim/commit/c44e5ae529ba3547202121f9181a9be5c643aee9
Author: Christian Brabandt <[email protected]>
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 <[email protected]>

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,
 /**/

-- 
-- 
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/E1vJWPW-001DT4-4B%40256bit.org.

Raspunde prin e-mail lui