Re: [PATCH] stdlib: work around MirBSD WEXITSTATUS bug

2010-09-16 Thread Bruno Haible
Stefano Lattarini wrote: > > +...@code{wstopsig} are not defined in this header file (only in > > +...@code{} > A left parenthesis is missing here? Yes, a right parenthesis was missing here. Fixed now. Thanks. Bruno

Re: [PATCH] stdlib: work around MirBSD WEXITSTATUS bug

2010-09-16 Thread Stefano Lattarini
Hi Bruno, just a small nit... On Thursday 16 September 2010, Bruno Haible wrote: > +++ doc/posix-headers/stdlib.texi Thu Sep 16 02:19:38 2010 > @@ -19,7 +19,10 @@ > NetBSD 5.0 > > @item > -Some platforms fail to provide @code{WEXITSTATUS} and friends: > +The macros @code{WIFSIGNALED}, @code

Re: [PATCH] stdlib: work around MirBSD WEXITSTATUS bug

2010-09-15 Thread Bruno Haible
Hi Eric, > +...@item > +Some platforms fail to provide @code{WEXITSTATUS} and friends: > +MirBSD 10. I find this problem description a bit ambiguous, therefore this follow-up patch, to improve the wording. 2010-09-15 Bruno Haible stdlib: clarify MirBSD WEXITSTATUS bug * lib/

[PATCH] stdlib: work around MirBSD WEXITSTATUS bug

2010-09-15 Thread Eric Blake
* 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 --- While debating about