From dbbd65596ed08ad48a064a7bca7c38353973be18 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 8 Dec 2012 00:34:11 -0800 Subject: [PATCH] applying bash42-006 --- patchlevel.h | 2 +- variables.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 (); -- 2.7.4