From 556455d68c4c3d67cf264a4c7c24d15174719004 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 16 Sep 2010 02:25:57 +0200 Subject: [PATCH] stdlib: clarify MirBSD WEXITSTATUS bug * lib/stdlib.in.h: Clarify the MirBSD bug regarding WEXITSTATUS. * doc/posix-headers/stdlib.texi (stdlib.h): Likewise. --- ChangeLog | 6 ++++++ doc/posix-headers/stdlib.texi | 5 ++++- lib/stdlib.in.h | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bacfce312..2b51e267c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-09-15 Bruno Haible + + 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 stdlib: work around MirBSD WEXITSTATUS bug diff --git a/doc/posix-headers/stdlib.texi b/doc/posix-headers/stdlib.texi index f400f6274..31bc7a81e 100644 --- a/doc/posix-headers/stdlib.texi +++ b/doc/posix-headers/stdlib.texi @@ -19,7 +19,10 @@ expressions: 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{} on some platforms: MirBSD 10. @end itemize diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 0c1c16593..4629bd986 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h @@ -38,7 +38,7 @@ /* NetBSD 5.0 mis-defines NULL. */ #include -/* MirBSD 10 fails to define WEXITSTATUS. */ +/* MirBSD 10 defines WEXITSTATUS in , not in . */ #ifndef WEXITSTATUS # include #endif -- 2.11.0