Blame SOURCES/ksh-20120801-kia-warning.patch
|
|
1a53a7 |
diff --git a/src/cmd/ksh93/sh/parse.c b/src/cmd/ksh93/sh/parse.c
|
|
|
1a53a7 |
--- a/src/cmd/ksh93/sh/parse.c
|
|
|
1a53a7 |
+++ b/src/cmd/ksh93/sh/parse.c
|
|
|
1a53a7 |
@@ -2032,6 +2032,7 @@ unsigned long kiaentity(Lex_t *lexp,const char *name,int len,int type,int first,
|
|
|
1a53a7 |
else
|
|
|
1a53a7 |
sfputr(stkp,name,0);
|
|
|
1a53a7 |
}
|
|
|
1a53a7 |
+ sfputc(stkp,'\0');
|
|
|
1a53a7 |
np = nv_search(stakptr(offset),lexp->entity_tree,NV_ADD);
|
|
|
1a53a7 |
stkseek(stkp,offset);
|
|
|
1a53a7 |
np->nvalue.i = pkind;
|