changes to SIGINT handler while waiting for a child; skip vertical whitespace after translating an integer

This commit is contained in:
Chet Ramey
2023-10-30 12:16:07 -04:00
parent b348b871b4
commit fe24a6a55e
9 changed files with 63 additions and 34 deletions
+1 -1
View File
@@ -5422,7 +5422,7 @@ execute_subshell_builtin_or_function (WORD_LIST *words, REDIRECT *redirects,
handler = set_sigint_handler ();
if (handler == SIG_IGN && signal_is_async_ignored (SIGINT) &&
signal_is_trapped (SIGINT) == 0 && signal_is_hard_ignored (SIGINT) == 0)
set_signal_handler (SIGINT, handler);
set_signal_handler (SIGINT, SIG_IGN);
}
if (fds_to_close)