aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/signals.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-09-20 02:18:14 +0000
committerUlrich Drepper <drepper@redhat.com>1999-09-20 02:18:14 +0000
commitb5c69d99130e6f70505c353a5eddd3405dda3108 (patch)
tree9330ce246f1bc7dd9491c80b3e8503a0caa97bc4 /linuxthreads/signals.c
parent4d512b65536b02d2f2961dd2e3c47678cfc3e5eb (diff)
downloadglibc-b5c69d99130e6f70505c353a5eddd3405dda3108.tar
glibc-b5c69d99130e6f70505c353a5eddd3405dda3108.tar.gz
glibc-b5c69d99130e6f70505c353a5eddd3405dda3108.tar.bz2
glibc-b5c69d99130e6f70505c353a5eddd3405dda3108.zip
Update.
1999-09-19 Ulrich Drepper <drepper@cygnus.com> * po/pl.po: Updated. 1999-09-17 Andreas Schwab <schwab@suse.de> * Makefile (clean): Also remove $(postclean) files. 1999-09-15 Andreas Jaeger <aj@suse.de> * pwd/Makefile (otherlibs): Add for building with static-nss. * inet/Makefile (otherlibs): Likewise. 1999-09-15 Andreas Jaeger <aj@suse.de> * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style function definition to avoid a compilation failure. 1999-09-15 Andreas Jaeger <aj@suse.de> * stdlib/tst-environ.c (main): Add getenv regression test for environment variable that's one character long. 1999-09-15 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time signal definitions to let glibc compile with older Linux versions (2.0.10 to 2.1.100 or so).
Diffstat (limited to 'linuxthreads/signals.c')
-rw-r--r--linuxthreads/signals.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linuxthreads/signals.c b/linuxthreads/signals.c
index df375e8e46..0c9bffd00b 100644
--- a/linuxthreads/signals.c
+++ b/linuxthreads/signals.c
@@ -139,10 +139,10 @@ int sigaction(int sig, const struct sigaction * act,
if (act->sa_handler != SIG_IGN && act->sa_handler != SIG_DFL
&& sig > 0 && sig < NSIG)
{
- if (sig >= SIGRTMIN)
- newact.sa_handler = (__sighandler_t) pthread_sighandler_rt;
+ if (act->sa_flags & SA_SIGINFO)
+ newact.sa_handler = (__sighandler_t) pthread_sighandler_rt;
else
- newact.sa_handler = (__sighandler_t) pthread_sighandler;
+ newact.sa_handler = (__sighandler_t) pthread_sighandler;
}
newactp = &newact;
}