mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-08 19:22:39 +02:00
commit bash-20040805 snapshot
This commit is contained in:
+4
-1
@@ -1599,7 +1599,10 @@ 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)
|
||||
return (old_var);
|
||||
{
|
||||
VUNSETATTR (old_var, att_invisible);
|
||||
return (old_var);
|
||||
}
|
||||
|
||||
was_tmpvar = old_var && tempvar_p (old_var);
|
||||
if (was_tmpvar)
|
||||
|
||||
Reference in New Issue
Block a user