Skip to content

Commit c44e5ae

Browse files
committed
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]>
1 parent d667946 commit c44e5ae

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/term.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5362,7 +5362,7 @@ put_key_modifiers_in_typebuf(
53625362
static int
53635363
parse_csi_f_keys(int arg)
53645364
{
5365-
char_u key_name[2] = "";
5365+
char_u key_name[2] = { 0, 0 };
53665366

53675367
switch (arg)
53685368
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,8 @@ static char *(features[]) =
729729

730730
static int included_patches[] =
731731
{ /* Add new patch number below this line */
732+
/**/
733+
1911,
732734
/**/
733735
1910,
734736
/**/

0 commit comments

Comments
 (0)