Blame SOURCES/ksh-20120801-typeset.patch

2642b8
diff --git a/src/cmd/ksh93/bltins/typeset.c b/src/cmd/ksh93/bltins/typeset.c
2642b8
index 15fcd58..8939011 100644
2642b8
--- a/src/cmd/ksh93/bltins/typeset.c
2642b8
+++ b/src/cmd/ksh93/bltins/typeset.c
2642b8
@@ -1442,7 +1442,7 @@ static void print_scan(Sfio_t *file, int flag, Dt_t *root, int option,struct tda
2642b8
 		tp->scanmask |= (NV_DOUBLE|NV_EXPNOTE);
2642b8
 	if(flag==NV_LTOU || flag==NV_UTOL)
2642b8
 		tp->scanmask |= NV_UTOL|NV_LTOU;
2642b8
-	namec = nv_scan(root,nullscan,(void*)tp,tp->scanmask,flag);
2642b8
+	namec = nv_scan(root,nullscan,(void*)tp,tp->scanmask,flag&~NV_IARRAY);
2642b8
 	argv = tp->argnam  = (char**)stkalloc(tp->sh->stk,(namec+1)*sizeof(char*));
2642b8
 	namec = nv_scan(root, pushname, (void*)tp, tp->scanmask, flag&~NV_IARRAY);
2642b8
 	if(mbcoll())
2642b8
-- 
2642b8
2.9.3
2642b8