From 9ddcfa16842544a50150d075a279975db3776380 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Fri, 16 May 2014 14:18:57 -0400 Subject: [PATCH] Bash-4.3 patch 17 --- patchlevel.h | 2 +- variables.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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 -- 2.39.2