From adcd516432811caa50970d80eb3e66d83a6dc7c6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 8 Apr 2004 16:12:20 +0000 Subject: Update. 2004-04-08 Ulrich Drepper * po/nl.po: Update from translation team. --- linuxthreads/signals.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linuxthreads/signals.c') diff --git a/linuxthreads/signals.c b/linuxthreads/signals.c index 667754a..50f5599 100644 --- a/linuxthreads/signals.c +++ b/linuxthreads/signals.c @@ -34,9 +34,13 @@ int pthread_sigmask(int how, const sigset_t * newmask, sigset_t * oldmask) case SIG_SETMASK: sigaddset(&mask, __pthread_sig_restart); sigdelset(&mask, __pthread_sig_cancel); + if (__pthread_sig_debug > 0) + sigdelset(&mask, __pthread_sig_debug); break; case SIG_BLOCK: sigdelset(&mask, __pthread_sig_cancel); + if (__pthread_sig_debug > 0) + sigdelset(&mask, __pthread_sig_debug); break; case SIG_UNBLOCK: sigdelset(&mask, __pthread_sig_restart); -- cgit v1.1