Fix flag test in waitid compatibility layer
* sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of WUNTRACED.
This commit is contained in:
parent
b43f552a8a
commit
15b9738da3
@ -1,3 +1,8 @@
|
||||
2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
|
||||
|
||||
* sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
|
||||
WUNTRACED.
|
||||
|
||||
2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
|
||||
|
||||
* malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
|
||||
|
@ -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
|
||||
)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user