Permalink
Browse files

Fix flag test in waitid compatibility layer

	* sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
	WUNTRACED.
  • Loading branch information...
Samuel Thibault
Samuel Thibault committed Mar 13, 2016
1 parent b43f552 commit 15b9738da39063ee118a22b48a2255c5b2769182
Showing with 6 additions and 1 deletion.
  1. +5 −0 ChangeLog
  2. +1 −1 sysdeps/posix/waitid.c
@@ -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
)
{

0 comments on commit 15b9738

Please sign in to comment.