components/ksh93/patches/170-CR7128313.patch
changeset 4196 d697072a92f5
parent 1079 f86b9f7aa5e7
equal deleted inserted replaced
4195:d88c5d15a4af 4196:d697072a92f5
       
     1 --- a/src/cmd/ksh93/sh/path.c
       
     2 +++ b/src/cmd/ksh93/sh/path.c
       
     3 @@ -1761,6 +1761,7 @@
       
     4  	char *ptr;
       
     5  	if(!pp)
       
     6  		return(NULL);
       
     7 +	pp->shp->last_table = 0;
       
     8  	path_nextcomp(pp->shp,pp,nv_name(np),pp);
       
     9  	ptr = stakfreeze(0);
       
    10  	return(ptr+PATH_OFFSET);