components/ksh93/patches/250-22561374.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 11 Oct 2016 11:08:35 -0700
changeset 7086 bad5d0bc7457
parent 5615 44d8b21d95e4
permissions -rw-r--r--
24829846 libxklavier upgrade broke keyboard gnome-keyboard-properties

This fix has been developed inhouse. Patch has been submitted upstream but 
has not been accepted yet. The details can be found at
https://github.com/att/ast/issues/7
--- INIT.2012-08-01.old/src/cmd/ksh93/sh/subshell.c	2016-03-01 04:01:06.513890578 -0800
+++ INIT.2012-08-01/src/cmd/ksh93/shsubshell.c	2016-03-01 04:02:43.617872391 -0800
@@ -260,9 +260,6 @@
 	shp = sp->shp;
 	dp = shp->var_tree;
 
-	/* don't bother to save if in newer scope */
-	if(sp->var!=shp->var_tree && sp->var!=shp->var_base && shp->last_root==shp->var_tree)
-		return(np);
 	if((ap=nv_arrayptr(np)) && (mp=nv_opensub(np)))
 	{
 		shp->last_root = ap->table;