summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/posix/Signals.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c
index 5ad688bc2f..57b1873c77 100644
--- a/rts/posix/Signals.c
+++ b/rts/posix/Signals.c
@@ -680,15 +680,11 @@ initDefaultHandlers(void)
// install the SIGINT handler
action.sa_handler = shutdown_handler;
sigemptyset(&action.sa_mask);
- action.sa_flags = 0;
+ action.sa_flags = 0; // disable SA_RESTART
if (sigaction(SIGINT, &action, &oact) != 0) {
sysErrorBelch("warning: failed to install SIGINT handler");
}
-#if defined(HAVE_SIGINTERRUPT)
- siginterrupt(SIGINT, 1); // isn't this the default? --SDM
-#endif
-
// install the SIGFPE handler
// In addition to handling SIGINT, also handle SIGFPE by ignoring it.