mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-14 18:33:55 +01:00
fix for heuristic to detect case statements when parsing $() command substitutions to find history expansion; fix for history not being saved if a SIGHUP arrives during $PROMPT_COMMAND execution; workaround for Cygwin bug that results in bash incorrectly calculating the system pipe size
This commit is contained in:
1 parent
d0b41c2c5f
commit
1f292e433e
16 files changed
+6183
-366
No files matched your search
+2
-2
@@ -652,7 +652,7 @@ initialize_shell_variables (char **env, int privmode)
|
||||
/* Set history variables to defaults, and then do whatever we would
|
||||
do if the variable had just been set. Do this only in the case
|
||||
that we are remembering commands on the history list. */
|
||||
if (remember_on_history)
|
||||
if (enable_history_list)
|
||||
{
|
||||
name = bash_default_histfile ();
|
||||
|
||||
@@ -677,7 +677,7 @@ initialize_shell_variables (char **env, int privmode)
|
||||
}
|
||||
|
||||
#if defined (HISTORY)
|
||||
if (interactive_shell && remember_on_history)
|
||||
if (interactive_shell && enable_history_list)
|
||||
{
|
||||
sv_history_control ("HISTCONTROL");
|
||||
sv_histignore ("HISTIGNORE");
|
||||
|
||||
Reference in new issue
Block a user