diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-03-13 21:44:09 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-03-13 21:44:09 +0100 |
commit | 15b9738da39063ee118a22b48a2255c5b2769182 (patch) | |
tree | 755cc17202e6183920eb2c29d3fa017750ab1666 /sysdeps | |
parent | b43f552a8a23c0e405ab13a268bee12ada3b7841 (diff) | |
download | glibc-15b9738da39063ee118a22b48a2255c5b2769182.tar glibc-15b9738da39063ee118a22b48a2255c5b2769182.tar.gz glibc-15b9738da39063ee118a22b48a2255c5b2769182.tar.bz2 glibc-15b9738da39063ee118a22b48a2255c5b2769182.zip |
Fix flag test in waitid compatibility layer
* sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
WUNTRACED.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/posix/waitid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/waitid.c b/sysdeps/posix/waitid.c index 14bf15e735..392a37d95f 100644 --- a/sysdeps/posix/waitid.c +++ b/sysdeps/posix/waitid.c @@ -80,7 +80,7 @@ OUR_WAITID (idtype_t idtype, id_t id, siginfo_t *infop, int options) #endif #ifdef WEXITED || ((options & (WEXITED|WSTOPPED|WCONTINUED)) - != (WEXITED | (options & WUNTRACED))) + != (WEXITED | (options & WSTOPPED))) #endif ) { |