From: Chet Ramey Date: Fri, 16 May 2014 18:18:57 +0000 (-0400) Subject: Bash-4.3 patch 17 X-Git-Tag: bash-4.4~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ddcfa16842544a50150d075a279975db3776380;p=thirdparty%2Fbash.git Bash-4.3 patch 17 --- diff --git a/patchlevel.h b/patchlevel.h index 706588e6f..2ff299b7e 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 16 +#define PATCHLEVEL 17 #endif /* _PATCHLEVEL_H_ */ diff --git a/variables.c b/variables.c index 70fac3bd0..cdc54bcea 100644 --- a/variables.c +++ b/variables.c @@ -2197,10 +2197,7 @@ make_local_variable (name) /* local foo; local foo; is a no-op. */ old_var = find_variable (name); if (old_var && local_p (old_var) && old_var->context == variable_context) - { - VUNSETATTR (old_var, att_invisible); /* XXX */ - return (old_var); - } + return (old_var); was_tmpvar = old_var && tempvar_p (old_var); /* If we're making a local variable in a shell function, the temporary env