* lib/stdlib.in.h: Clarify the MirBSD bug regarding WEXITSTATUS.
* doc/posix-headers/stdlib.texi (stdlib.h): Likewise.
+2010-09-15 Bruno Haible <bruno@clisp.org>
+
+ stdlib: clarify MirBSD WEXITSTATUS bug
+ * lib/stdlib.in.h: Clarify the MirBSD bug regarding WEXITSTATUS.
+ * doc/posix-headers/stdlib.texi (stdlib.h): Likewise.
+
2010-09-15 Eric Blake <eblake@redhat.com>
stdlib: work around MirBSD WEXITSTATUS bug
NetBSD 5.0
@item
-Some platforms fail to provide @code{WEXITSTATUS} and friends:
+The macros @code{WIFSIGNALED}, @code{WIFEXITED}, @code{WIFSTOPPED},
+@code{WTERMSIG}, @code{WEXITSTATUS}, @code{WNOHANG}, @code{WUNTRACED},
+@code{WSTOPSIG} are not defined in this header file (only in
+@code{<sys/wait.h>} on some platforms:
MirBSD 10.
@end itemize
/* NetBSD 5.0 mis-defines NULL. */
#include <stddef.h>
-/* MirBSD 10 fails to define WEXITSTATUS. */
+/* MirBSD 10 defines WEXITSTATUS in <sys/wait.h>, not in <stdlib.h>. */
#ifndef WEXITSTATUS
# include <sys/wait.h>
#endif