+2008-06-22 Bruno Haible <bruno@clisp.org>
+
+ * lib/sigprocmask.c: Update a comment.
+
2008-06-21 Eric Blake <ebb9@byu.net>
Use sigaction module rather than signal().
{
if (signal (sig, old_handlers[sig]) != blocked_handler)
/* The application changed a signal handler while the signal
- was blocked. We don't support this. */
+ was blocked, bypassing our rpl_signal replacement.
+ We don't support this. */
abort ();
received[sig] = pending_array[sig];
blocked_set &= ~(1U << sig);
old_handlers[sig] = handler;
return result;
}
- return signal (sig, handler);
+ else
+ return signal (sig, handler);
}
else
{