9c226b
--- ksh-20120801/src/cmd/ksh93/sh/array.c	2014-12-11 16:39:34.253860675 -0200
9c226b
+++ ksh-20120801/src/cmd/ksh93/sh/array.c	2014-12-11 16:39:40.794857083 -0200
9c226b
@@ -1003,7 +1003,7 @@ Namarr_t *nv_setarray(Namval_t *np, void
9c226b
 		ap->nelem = nelem;
9c226b
 		ap->fun = fun;
9c226b
 		nv_onattr(np,NV_ARRAY);
9c226b
-		if(fp || value)
9c226b
+		if(fp || (value && value != Empty))
9c226b
 		{
9c226b
 			nv_putsub(np, "0", ARRAY_ADD);
9c226b
 			if(value)