Bash-4.3 patch 17

This commit is contained in:
Chet Ramey 2014-05-16 14:18:57 -04:00
commit 9ddcfa1684
2 changed files with 2 additions and 5 deletions

View 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 16
#define PATCHLEVEL 17
#endif /* _PATCHLEVEL_H_ */

View file

@ -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