summaryrefslogtreecommitdiff
path: root/linuxthreads/pthread.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-10-06 09:09:35 +0000
committerJakub Jelinek <jakub@redhat.com>2004-10-06 09:09:35 +0000
commit0caba1fbdb2bb0d78bbf3a9cf4d227ad1c1f8f86 (patch)
treef86a1435f78ca214fb24daf9ba7a85f3dfd1ff54 /linuxthreads/pthread.c
parent6fb78a87583a6d2f65a0fb4a77c950ddc037876c (diff)
Updated to fedora-glibc-20041006T0900
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r--linuxthreads/pthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index 6c98d73255..24f0eb02b0 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -560,6 +560,7 @@ static void pthread_initialize(void)
sa.sa_flags = 0;
__libc_sigaction(__pthread_sig_restart, &sa, NULL);
sa.sa_handler = pthread_handle_sigcancel;
+ sigaddset(&sa.sa_mask, __pthread_sig_restart);
// sa.sa_flags = 0;
__libc_sigaction(__pthread_sig_cancel, &sa, NULL);
if (__pthread_sig_debug > 0) {