Commit e65d8f38 authored by wolfgang's avatar wolfgang
Browse files

[project @ 2003-01-10 22:08:20 by wolfgang]

blockUserSignal() should use SIG_BLOCK instead of SIG_SETMASK, otherwise it
would also sometimes unblock signals that should be blocked.

MERGE TO STABLE
parent c3fb6ff1
/* -----------------------------------------------------------------------------
* $Id: Signals.c,v 1.31 2002/12/11 15:36:51 simonmar Exp $
* $Id: Signals.c,v 1.32 2003/01/10 22:08:20 wolfgang Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -170,7 +170,7 @@ initUserSignals(void)
void
blockUserSignals(void)
{
sigprocmask(SIG_SETMASK, &userSignals, &savedSignals);
sigprocmask(SIG_BLOCK, &userSignals, &savedSignals);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment