Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix flag test in waitid compatibility layer
	* sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
	WUNTRACED.
  • Loading branch information
Samuel Thibault committed Mar 13, 2016
1 parent b43f552 commit 15b9738
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/posix/waitid.c
Expand Up @@ -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
)
{
Expand Down

0 comments on commit 15b9738

Please sign in to comment.