From: Chet Ramey Date: Wed, 23 Nov 2011 01:00:31 +0000 (-0500) Subject: Bash-4.2 patch 6 X-Git-Tag: bash-4.3~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eafc91a3506a082956fbdc8f0fb1210d00f1e035;p=platform%2Fupstream%2Fbash.git Bash-4.2 patch 6 --- diff --git a/patchlevel.h b/patchlevel.h index 5cca30b..2a6db0e 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -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_ */ diff --git a/variables.c b/variables.c index daacdbf..7bb850f 100644 --- a/variables.c +++ b/variables.c @@ -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 ();