change to readline callback signal handling; fix message when popping shell function context; handle new terminating signals inside terminating signal handler; fix to pattern substitution with null replacement and null string; fix to alias expansion when we get a SIGINT while entering a command substitution in an interactive shell

This commit is contained in:
Chet Ramey
2022-10-15 13:34:51 -04:00
parent 55a8311420
commit 055a4552c9
15 changed files with 139 additions and 24 deletions
+2 -1
View File
@@ -1539,7 +1539,7 @@ execute_in_subshell (command, asynchronous, pipe_in, pipe_out, fds_to_close)
expansion with `shopt -s expand_alias' to continue to expand
aliases. */
if (ois != interactive_shell)
expand_aliases = 0;
expand_aliases = expaliases_flag = 0;
}
/* Subshells are neither login nor interactive. */
@@ -3627,6 +3627,7 @@ execute_case_command (case_command)
free (pattern);
dispose_words (es);
CHECK_TERMSIG;
if (match)
{