From e2dec299cd0ea710d30a502056f2ae8de08fdc70 Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 26 Mar 2002 23:51:27 +0000 Subject: [PATCH] [project @ 2002-03-26 23:51:27 by sof] initDefaultHandlers(): siginterrupt() not supported w/ cygwin --- ghc/rts/Signals.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc/rts/Signals.c b/ghc/rts/Signals.c index 2e26d0b..9edefbb 100644 --- a/ghc/rts/Signals.c +++ b/ghc/rts/Signals.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Signals.c,v 1.23 2002/03/12 13:57:14 simonmar Exp $ + * $Id: Signals.c,v 1.24 2002/03/26 23:51:27 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -350,7 +350,9 @@ initDefaultHandlers() prog_belch("warning: failed to install SIGINT handler"); } +#ifndef cygwin32_TARGET_OS siginterrupt(SIGINT, 1); // isn't this the default? --SDM +#endif // install the SIGCONT handler action.sa_handler = cont_handler; -- 1.7.10.4