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:
490998a
)
2004-07-26 Roland McGrath <roland@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Tue, 27 Jul 2004 01:20:15 +0000
(
01:20
+0000)
committer
Roland McGrath
<roland@gnu.org>
Tue, 27 Jul 2004 01:20:15 +0000
(
01:20
+0000)
* sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
call to __waitpid.
sysdeps/posix/waitid.c
patch
|
blob
|
history
diff --git
a/sysdeps/posix/waitid.c
b/sysdeps/posix/waitid.c
index
76a3b1d
..
7d65e42
100644
(file)
--- a/
sysdeps/posix/waitid.c
+++ b/
sysdeps/posix/waitid.c
@@
-92,7
+92,12
@@
OUR_WAITID (idtype_t idtype, id_t id, siginfo_t *infop, int options)
/* Note the waitid() is a cancellation point. But since we call
waitpid() which itself is a cancellation point we do not have
to do anything here. */
- child = __waitpid (pid, &status, options);
+ child = __waitpid (pid, &status,
+ options
+#ifdef WEXITED
+ &~ WEXITED
+#endif
+ );
if (child == -1)
/* `waitpid' set `errno' for us. */