components/ksh93/patches/17435456.patch
author Mohana Rao Gorai <mohana.gorai@oracle.com>
Fri, 28 Mar 2014 03:44:53 -0700
branchs11-update
changeset 3019 a2bfef404a4b
parent 2945 181980667e6e
permissions -rw-r--r--
18410757 a2ps needs tpno info in the manifest

http://lists.research.att.com/pipermail/ast-developers/2014q1/003806.html

--- a/src/cmd/ksh93/sh/init.c
+++ b/src/cmd/ksh93/sh/init.c
@@ -1933,6 +1933,11 @@ static void env_init(Shell_t *shp)
 		*dp++ = 0;
 		if(mp = dtmatch(shp->var_base,cp))
 		{
+                        if(strcmp(cp,VERSIONNOD->nvname)==0)
+                        {
+                                dp[-1] = '=';
+                                continue;
+                        }
 			mp->nvenv = (char*)cp;
 			dp[-1] = '=';
 		}