2004-12-27  Ulrich Drepper  <drepper@redhat.com>

	* include/signal.h: Define __sigemptyset.
This commit is contained in:
Ulrich Drepper 2004-12-28 01:41:24 +00:00
parent ab4b89fe8a
commit a71c152cfc
4 changed files with 11 additions and 1 deletions

View File

@ -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

View 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. */

View 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

View 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);