projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a2832a
)
(sigwait): Check for old sighandler being SIG_ERR, not NULL.
author
Ulrich Drepper
<drepper@redhat.com>
Tue, 19 Feb 2002 07:12:09 +0000
(07:12 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Tue, 19 Feb 2002 07:12:09 +0000
(07:12 +0000)
linuxthreads/signals.c
patch
|
blob
|
history
diff --git
a/linuxthreads/signals.c
b/linuxthreads/signals.c
index
5a1025e
..
da3ce69
100644
(file)
--- a/
linuxthreads/signals.c
+++ b/
linuxthreads/signals.c
@@
-198,7
+198,7
@@
int sigwait(const sigset_t * set, int * sig)
s != __pthread_sig_cancel &&
s != __pthread_sig_debug) {
sigdelset(&mask, s);
- if (sighandler[s].old ==
NULL
||
+ if (sighandler[s].old ==
(arch_sighandler_t) SIG_ERR
||
sighandler[s].old == (arch_sighandler_t) SIG_DFL ||
sighandler[s].old == (arch_sighandler_t) SIG_IGN) {
sa.sa_handler = pthread_null_sighandler;