projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1b13a0
)
microcode/uxsig.c: Handle SIGTERM, SIGQUIT and SIGHUP as if a C-g.
author
Matt Birkholz
<matt@birchwood-abbey.net>
Thu, 23 Mar 2017 23:45:31 +0000
(16:45 -0700)
committer
Matt Birkholz
<matt@birchwood-abbey.net>
Fri, 24 Mar 2017 18:21:37 +0000
(11:21 -0700)
src/microcode/uxsig.c
patch
|
blob
|
history
diff --git
a/src/microcode/uxsig.c
b/src/microcode/uxsig.c
index bb9d1ceba58ab5caa7e144434bdf5a2ab52432f3..2456c1356a3638d27ccc7d04ec993b2e24fbcd8c 100644
(file)
--- 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);