]> git.ipfire.org Git - thirdparty/bash.git/commitdiff
Bash-4.2 patch 6
authorChet Ramey <chet.ramey@case.edu>
Wed, 23 Nov 2011 01:00:31 +0000 (20:00 -0500)
committerChet Ramey <chet.ramey@case.edu>
Wed, 23 Nov 2011 01:00:31 +0000 (20:00 -0500)
patchlevel.h
variables.c

index 5cca30b8b9e60cfbc6415d3984cf5e6195186ec7..2a6db0ebcb375124bd7c1a301e42db377265086e 100644 (file)
@@ -25,6 +25,6 @@
    regexp `^#define[   ]*PATCHLEVEL', since that's what support/mkversion.sh
    looks for to find the patch level (for the sccs version string). */
 
-#define PATCHLEVEL 5
+#define PATCHLEVEL 6
 
 #endif /* _PATCHLEVEL_H_ */
index daacdbf0ecb8f78d4c2fa3bf93a9e760f1fd68b9..7bb850fabdf2a5bb553256cbc6760078f9fc80fb 100644 (file)
@@ -3660,7 +3660,7 @@ chkexport (name)
   SHELL_VAR *v;
 
   v = find_variable (name);
-  if (exported_p (v))
+  if (v && exported_p (v))
     {
       array_needs_making = 1;
       maybe_make_export_env ();