From 09402f5bc1d87787c84dbf75d41777c87b1ce40e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 25 Mar 2003 20:41:26 +0000 Subject: Update. 2003-03-25 Ulrich Drepper * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and atomic_add_zero were supposed to do. * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero to x86 behavior. * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*. This matches the new timer implementation. * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust timer info for what the kernel provides these days. (struct sigevent): Add _tid field. Define SIGEV_THREAD_ID. * Versions.def (librt): Add GLIBC_2.3.3. * abilist/libpthread.abilist: Update for nptl. --- nptl/sysdeps/pthread/sigaction.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nptl/sysdeps/pthread/sigaction.c') diff --git a/nptl/sysdeps/pthread/sigaction.c b/nptl/sysdeps/pthread/sigaction.c index e3554ddb44..d69abf09ae 100644 --- a/nptl/sysdeps/pthread/sigaction.c +++ b/nptl/sysdeps/pthread/sigaction.c @@ -22,9 +22,10 @@ exact file anyway. */ #ifndef LIBC_SIGACTION +#include + /* We use the libc implementation but we tell it to not allow - SIGCANCEL to be handled. */ -# define SIGCANCEL __SIGRTMIN + SIGCANCEL or SIGTIMER to be handled. */ # define LIBC_SIGACTION 1 # include @@ -35,7 +36,7 @@ __sigaction (sig, act, oact) const struct sigaction *act; struct sigaction *oact; { - if (sig == SIGCANCEL) + if (sig == SIGCANCEL || sig == SIGTIMER) { __set_errno (EINVAL); return -1; -- cgit v1.2.3