From: Matt Birkholz Date: Thu, 23 Mar 2017 23:45:31 +0000 (-0700) Subject: microcode/uxsig.c: Handle SIGTERM, SIGQUIT and SIGHUP as if a C-g. X-Git-Tag: mit-scheme-pucked-9.2.12~172 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=a2ca80acada2b0d70b3d8af2fe14d6b6ea9f6e24;p=mit-scheme.git microcode/uxsig.c: Handle SIGTERM, SIGQUIT and SIGHUP as if a C-g. --- diff --git a/src/microcode/uxsig.c b/src/microcode/uxsig.c index bb9d1ceba..2456c1356 100644 --- a/src/microcode/uxsig.c +++ b/src/microcode/uxsig.c @@ -681,6 +681,9 @@ UX_initialize_signals (void) #endif bind_handler (SIGALRM, sighnd_timer); bind_handler (SIGVTALRM, sighnd_timer); + bind_handler (SIGTERM, sighnd_control_g); + bind_handler (SIGQUIT, sighnd_control_g); + bind_handler (SIGHUP, sighnd_control_g); bind_handler (SIGUSR1, sighnd_save_then_terminate); #ifdef HAVE_NICE bind_handler (SIGUSR2, sighnd_renice);