fixes for SIGINT handling in asynchronous lists

This commit is contained in:
Chet Ramey
2023-01-17 13:31:46 -05:00
parent 0647e53bd1
commit a5d2617c7a
11 changed files with 767 additions and 1248 deletions
+2
View File
@@ -252,6 +252,8 @@ initialize_terminating_signals (void)
/* If we've already trapped it, don't do anything. */
if (signal_is_trapped (XSIG (i)))
continue;
if (signal_is_async_ignored (XSIG (i)))
continue;
sigaction (XSIG (i), &act, &oact);
XHANDLER(i) = oact.sa_handler;