components/ksh93/patches/085-CR7046434.patch
changeset 4268 d723f8ed85fe
parent 4266 bcfdeff915c4
child 4271 7552f305c5fb
--- a/components/ksh93/patches/085-CR7046434.patch	Sat May 09 12:45:23 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-diff -rupN INIT.2011-02-08/src/cmd/ksh93/sh/subshell.c INIT.2011-02-08.clean/src/cmd/ksh93/sh/subshell.c
---- INIT.2011-02-08/src/cmd/ksh93/sh/subshell.c	2012-05-01 10:06:04.621554775 -0700
-+++ INIT.2011-02-08.clean/src/cmd/ksh93/sh/subshell.c	2012-05-01 10:05:25.139965959 -0700
-@@ -241,9 +241,6 @@ Namval_t *sh_assignok(register Namval_t 
- 	/* don't bother with this */
- 	if(!sp->shpwd || np==SH_LEVELNOD || np==L_ARGNOD || np==SH_SUBSCRNOD || np==SH_NAMENOD)
- 		return(np);
--	/* don't bother to save if in newer scope */
--	if(sp->var!=shp->var_tree && shp->last_root==shp->var_tree)
--		return(np);
- 	if((ap=nv_arrayptr(np)) && (mp=nv_opensub(np)))
- 	{
- 		shp->last_root = ap->table;