components/bash/patches/solaris-005.variables.c.patch
author Sean Wilcox <sean.wilcox@oracle.com>
Tue, 08 Nov 2016 11:16:49 -0700
changeset 7262 19860fd7b64f
parent 5518 c47fe0edc204
child 7485 89b2d849f322
permissions -rw-r--r--
24692363 restart of nova-compute went to maintenance

# Export the default variables if they aren't set.
# Otherwise we end up with inconsistently defined/exported
# defaults.
# Solaris-specific patch.
--- variables.c	2011-01-24 17:07:48.000000000 -0800
+++ variables.c	2011-11-29 09:29:51.902791524 -0800
@@ -417,14 +417,12 @@
   /* Now make our own defaults in case the vars that we think are
      important are missing. */
   temp_var = set_if_not ("PATH", DEFAULT_PATH_VALUE);
-#if 0
+
   set_auto_export (temp_var);	/* XXX */
-#endif
 
   temp_var = set_if_not ("TERM", "dumb");
-#if 0
+
   set_auto_export (temp_var);	/* XXX */
-#endif
 
 #if defined (__QNX__)
   /* set node id -- don't import it from the environment */