components/ksh93/patches/Bug15993811.patch
branchs11-update
changeset 3039 bf667aad6d27
equal deleted inserted replaced
3038:1a97ff5e830d 3039:bf667aad6d27
       
     1 --- a/src/cmd/ksh93/sh/nvtype.c	Mon Jun 24 07:10:02 2013
       
     2 +++ b/src/cmd/ksh93/sh/nvtype.c	Mon Jun 24 08:33:32 2013
       
     3 @@ -925,8 +925,6 @@
       
     4  	}
       
     5  	offset = roundof(offset,sizeof(char*));
       
     6  	nv_setsize(mp,offset);
       
     7 -	if(nd)
       
     8 -		nd++;
       
     9  	k = roundof(sizeof(Namtype_t),sizeof(Sfdouble_t)) - sizeof(Namtype_t);
       
    10  	pp = newof(NiL, Namtype_t, 1, nnodes*NV_MINSZ + offset + size + (nnodes+nd)*sizeof(char*) + iref*sizeof(struct Namref)+k);
       
    11  	pp->fun.dsize = sizeof(Namtype_t)+nnodes*NV_MINSZ +offset+k;