components/ksh93/patches/210-Bug15993811.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Tue, 05 May 2015 06:49:34 -0500
changeset 4253 d6f30e77062b
parent 4196 d697072a92f5
permissions -rw-r--r--
21032971 pycparser license generation should have .prep dependency

--- a/src/cmd/ksh93/sh/nvtype.c	Mon Jun 24 07:10:02 2013
+++ b/src/cmd/ksh93/sh/nvtype.c	Mon Jun 24 08:33:32 2013
@@ -925,8 +925,6 @@
 	}
 	offset = roundof(offset,sizeof(char*));
 	nv_setsize(mp,offset);
-	if(nd)
-		nd++;
 	k = roundof(sizeof(Namtype_t),sizeof(Sfdouble_t)) - sizeof(Namtype_t);
 	pp = newof(NiL, Namtype_t, 1, nnodes*NV_MINSZ + offset + size + (nnodes+nd)*sizeof(char*) + iref*sizeof(struct Namref)+k);
 	pp->fun.dsize = sizeof(Namtype_t)+nnodes*NV_MINSZ +offset+k;