mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 03:10:50 +02:00
fix export environment if a local variable inherits the export attribute from a variable with the same name at a previous scope; changes to help builtin and glob pattern arguments; fix for fpurge declaration in a source file; man page typesetting updates
This commit is contained in:
@@ -2724,6 +2724,9 @@ make_local_variable (const char *name, int flags)
|
||||
else
|
||||
/* We inherit the export attribute, but no others. */
|
||||
new_var->attributes = exported_p (old_var) ? att_exported : 0;
|
||||
|
||||
if (exported_p (new_var))
|
||||
array_needs_making = 1;
|
||||
}
|
||||
|
||||
set_local_var_flags:
|
||||
|
||||
Reference in New Issue
Block a user