]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 28 Dec 2004 01:41:24 +0000 (01:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 28 Dec 2004 01:41:24 +0000 (01:41 +0000)
2004-12-27  Ulrich Drepper  <drepper@redhat.com>

* include/signal.h: Define __sigemptyset.

ChangeLog
include/signal.h
nptl/ChangeLog
nptl/init.c

index ed69b031f3cd3491a4c11f542c8b3f86fb7dfde6..d310c221bf87ca7076e71f772da483dc525dd8da 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-27  Ulrich Drepper  <drepper@redhat.com>
+
+       * include/signal.h: Define __sigemptyset.
+
 2004-04-27  Paolo Bonzini  <bonzini@gnu.org>
 
        * posix/regex_internal.h (struct re_dfastate_t): Make
index 104ea8f83ae46a383308783095bb519138b64402..6ceafe0c73f3232b1012f156ca2728f16f0e2a00 100644 (file)
@@ -48,6 +48,8 @@ extern int __sigpause (int sig_or_mask, int is_sig);
 extern int __default_sigpause (int mask);
 extern int __xpg_sigpause (int sig);
 
+/* Simplified sigemptyset() implementation without the parameter checking.  */
+#define __sigemptyset(ss) (memset (ss, '\0', sizeof (sigset_t)), 0)
 
 
 /* Allocate real-time signal with highest/lowest available priority.  */
index ddb4dab45777fff6cce633fa073074b78d28c5a0..19ce0d7e1e1cd43ba2891bd9e4e4ce1bf648edaa 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-27  Ulrich Drepper  <drepper@redhat.com>
+
+       * init.c (__pthread_initialize_minimal_internal): Use __sigemptyset.
+
 2004-12-21  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/i386/tls.h (CALL_THREAD_FCT): Maintain 16 byte alignment of
index 3751e6be776b9e3f7a18de648370c952fd6dfc23..86745af8d1db5dc440619b7af444eb747e24c8a2 100644 (file)
@@ -262,7 +262,7 @@ __pthread_initialize_minimal_internal (void)
   struct sigaction sa;
   sa.sa_sigaction = sigcancel_handler;
   sa.sa_flags = SA_SIGINFO;
-  sigemptyset (&sa.sa_mask);
+  __sigemptyset (&sa.sa_mask);
 
   (void) __libc_sigaction (SIGCANCEL, &sa, NULL);