mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-17 04:30:01 +01:00
fix for %P in TIMEFORMAT; make updating variables that aren't subject to allexport smoother; fix spurious compiler warning about realloc; efficiency improvement for command timing; fix issue with read builtin and failure to set terminal attributes
This commit is contained in:
1 parent
4f536430e4
commit
f2f545ad7b
11 files changed
+118
-80
No files matched your search
+3
-3
@@ -3166,7 +3166,7 @@ assign_value:
|
||||
INVALIDATE_EXPORTSTR (entry);
|
||||
optimized_assignment (entry, value, aflags);
|
||||
|
||||
if (mark_modified_vars)
|
||||
if (mark_modified_vars && (aflags & ASS_NOEXPORT) == 0)
|
||||
VSETATTR (entry, att_exported);
|
||||
|
||||
if (exported_p (entry))
|
||||
@@ -3208,7 +3208,7 @@ assign_value:
|
||||
}
|
||||
}
|
||||
|
||||
if (mark_modified_vars)
|
||||
if (mark_modified_vars && (aflags & ASS_NOEXPORT) == 0)
|
||||
VSETATTR (entry, att_exported);
|
||||
|
||||
if (exported_p (entry))
|
||||
@@ -3363,7 +3363,7 @@ bind_variable_value (SHELL_VAR *var, char *value, int aflags)
|
||||
|
||||
INVALIDATE_EXPORTSTR (var);
|
||||
|
||||
if (mark_modified_vars)
|
||||
if (mark_modified_vars && (aflags & ASS_NOEXPORT) == 0)
|
||||
VSETATTR (var, att_exported);
|
||||
|
||||
if (exported_p (var))
|
||||
|
||||
Reference in new issue
Block a user