stdlib: work around MirBSD WEXITSTATUS bug
authorEric Blake <eblake@redhat.com>
Wed, 15 Sep 2010 21:25:43 +0000 (15:25 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 15 Sep 2010 21:54:55 +0000 (15:54 -0600)
commit91935a638321ad61c876153d149ee09fc701c2db
treeb51d282a90238d651edac5e39543a8edc9476b3b
parente792719bf10d967c0273fdcc1648e2560e3e59a7
stdlib: work around MirBSD WEXITSTATUS bug

* lib/stdlib.in.h (includes): Guarantee WEXITSTATUS.
* modules/stdlib (Depends-on): Add sys_wait.
* tests/test-sys_wait.c (main): Enhance test.
* tests/test-stdlib.c (main): Likewise.
* doc/posix-headers/stdlib.texi (stdlib.h): Document the bug.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
doc/posix-headers/stdlib.texi
lib/stdlib.in.h
modules/stdlib
tests/test-stdlib.c
tests/test-sys_wait.c