diff options
Diffstat (limited to 'source/ap/ksh93/patches/ksh-20140801-arraylen.patch')
-rw-r--r-- | source/ap/ksh93/patches/ksh-20140801-arraylen.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/ap/ksh93/patches/ksh-20140801-arraylen.patch b/source/ap/ksh93/patches/ksh-20140801-arraylen.patch new file mode 100644 index 00000000..34c9b6bd --- /dev/null +++ b/source/ap/ksh93/patches/ksh-20140801-arraylen.patch @@ -0,0 +1,11 @@ +--- ksh-20120801/src/cmd/ksh93/sh/xec.c 2015-04-02 10:55:26.228017873 -0400 ++++ ksh-20120801/src/cmd/ksh93/sh/xec.c 2015-04-02 10:56:04.099017700 -0400 +@@ -1234,7 +1234,7 @@ int sh_exec(register const Shnode_t *t, + if((io||argn)) + { + Shbltin_t *bp=0; +- static char *argv[1]; ++ static char *argv[2]; + int tflags = 1; + if(np && nv_isattr(np,BLT_DCL)) + tflags |= 2; |