mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-12 06:30:50 +02: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:
+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