summaryrefslogtreecommitdiff
path: root/ghc/rts/posix/Select.c
diff options
context:
space:
mode:
authorsimonmar <unknown>2006-01-16 16:38:25 +0000
committersimonmar <unknown>2006-01-16 16:38:25 +0000
commit98ae15bfb073289e2e65aaf288a83fac71549a9d (patch)
tree663c736140c8f994b9735b964ac72bd6341adc53 /ghc/rts/posix/Select.c
parent6b16111d35e8e4c2a32cf9a3c7c855efb32d5b1b (diff)
downloadhaskell-98ae15bfb073289e2e65aaf288a83fac71549a9d.tar.gz
[project @ 2006-01-16 16:38:24 by simonmar]
Default signal handlers weren't being installed; amazing that this has been broken ever since I rearranged the signal handling code.
Diffstat (limited to 'ghc/rts/posix/Select.c')
-rw-r--r--ghc/rts/posix/Select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/rts/posix/Select.c b/ghc/rts/posix/Select.c
index 0f7a6dfed7..effc7c4427 100644
--- a/ghc/rts/posix/Select.c
+++ b/ghc/rts/posix/Select.c
@@ -208,7 +208,7 @@ awaitEvent(rtsBool wait)
*/
#if defined(RTS_USER_SIGNALS)
if (signals_pending()) {
- startSignalHandlers();
+ startSignalHandlers(&MainCapability);
return; /* still hold the lock */
}
#endif