summaryrefslogtreecommitdiffstats
path: root/source/ap/ksh93/patches/ksh-20120801-emptyarrayinit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/ksh93/patches/ksh-20120801-emptyarrayinit.patch')
-rw-r--r--source/ap/ksh93/patches/ksh-20120801-emptyarrayinit.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/ap/ksh93/patches/ksh-20120801-emptyarrayinit.patch b/source/ap/ksh93/patches/ksh-20120801-emptyarrayinit.patch
deleted file mode 100644
index c888b319d..000000000
--- a/source/ap/ksh93/patches/ksh-20120801-emptyarrayinit.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ksh-20120801/src/cmd/ksh93/sh/array.c 2014-12-11 16:39:34.253860675 -0200
-+++ ksh-20120801/src/cmd/ksh93/sh/array.c 2014-12-11 16:39:40.794857083 -0200
-@@ -1003,7 +1003,7 @@ Namarr_t *nv_setarray(Namval_t *np, void
- ap->nelem = nelem;
- ap->fun = fun;
- nv_onattr(np,NV_ARRAY);
-- if(fp || value)
-+ if(fp || (value && value != Empty))
- {
- nv_putsub(np, "0", ARRAY_ADD);
- if(value)