components/ksh93/patches/220-17699248.patch
changeset 5129 5431772f7235
parent 4268 d723f8ed85fe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ksh93/patches/220-17699248.patch	Thu Nov 26 02:23:48 2015 -0800
@@ -0,0 +1,14 @@
+This fix is from the community, details in the following location.
+http://lists.research.att.com/pipermail/ast-developers/2013q4/003716.html
+---
+--- a/src/cmd/ksh93/sh/array.c 	2013-11-15 12:39:50.632526510 +0100
++++ b/src/cmd/ksh93/sh/array.c	2013-11-15 12:45:53.420869610 +0100
+@@ -963,7 +963,7 @@
+ 		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)