about summary refs log tree commit diff
path: root/linuxthreads/signals.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-08 16:12:20 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-08 16:12:20 +0000
commitadcd516432811caa50970d80eb3e66d83a6dc7c6 (patch)
tree85dc6f569033369168a249f65a71380c33200d2f /linuxthreads/signals.c
parente6eb894e8d9736ea54f1f546c897fc959beefdfd (diff)
downloadglibc-adcd516432811caa50970d80eb3e66d83a6dc7c6.tar.gz
glibc-adcd516432811caa50970d80eb3e66d83a6dc7c6.tar.xz
glibc-adcd516432811caa50970d80eb3e66d83a6dc7c6.zip
Update.
2004-04-08  Ulrich Drepper  <drepper@redhat.com>

	* po/nl.po: Update from translation team.
Diffstat (limited to 'linuxthreads/signals.c')
-rw-r--r--linuxthreads/signals.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linuxthreads/signals.c b/linuxthreads/signals.c
index 667754aa37..50f55995a3 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);