Bruno Haible
b14c9a8fe1
Update doc for POSIX:2008.
...
* doc/posix-headers/*.texi [except ucontext.texi, sys_timeb.texi]:
Update URL of POSIX specification.
2010-10-02 18:35:08 +02:00
Bruno Haible
479f291727
New module 'system-posix'.
...
* modules/system-posix: New file.
* lib/stdlib.in.h: Include <sys/wait.h> only when the 'system-posix'
module is present.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize
GNULIB_SYSTEM_POSIX.
* modules/stdlib (Depends-on): Remove sys_wait.
(Makefile.am): Substitute GNULIB_SYSTEM_POSIX.
* doc/posix-functions/system.texi: Mention the new module.
* doc/posix-headers/stdlib.texi: Likewise.
* tests/test-stdlib.c: If GNULIB_TEST_SYSTEM_POSIX is not defined,
define test_sys_wait_macros to a no-op.
Reported by Sam Steingold <sds@gnu.org >.
2010-10-02 11:44:20 +02:00
Bruno Haible
ef0cb7cb55
Fix typo in last commit.
...
Reported by Stefano Lattarini <stefano.lattarini@gmail.com >.
2010-09-16 12:55:08 +02:00
Bruno Haible
556455d68c
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-16 02:25:57 +02:00
Eric Blake
91935a6383
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 >
2010-09-15 15:54:55 -06:00
Eric Blake
e792719bf1
docs: mention MacOS issue with WEXITSTATUS(constant)
...
* doc/posix-headers/sys_wait.texi (sys/wait.h): Document the
issue.
* doc/posix-headers/stdlib.texi (stdlib.h): Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com >
2010-09-15 14:26:34 -06:00
Karl Berry
80fc442c21
avoid some overlong lines from posix urls, etc.
2010-08-13 11:50:58 -07:00
Eric Blake
2f5181b1a2
stddef: fix NetBSD 5.0 NULL bug, rather than working around it
...
* tests/test-locale.c: Revert previous patch related to NULL.
* tests/test-stdio.c: Likewise.
* tests/test-stdlib.c: Likewise.
* tests/test-string.c: Likewise.
* tests/test-unistd.c: Likewise.
* modules/time-tests (Depends-on): Add verify.
* modules/wchar-tests (Depends-on): Likewise.
* tests/test-time.c: Test for NULL compliance.
* tests/test-wchar.c: Likewise.
* modules/locale (Depends-on): Add stddef.
* modules/stdio (Depends-on): Likewise.
* modules/stdlib (Depends-on): Likewise.
* modules/string (Depends-on): Likewise.
* modules/time (Depends-on): Likewise.
* modules/unistd (Depends-on): Likewise.
* modules/wchar (Depends-on): Likewise.
* lib/locale.in.h (includes): Use <stddef.h> to fix NULL.
* lib/stdlib.in.h (includes): Likewise.
* lib/string.in.h (includes): Likewise.
* lib/time.in.h (includes): Likewise.
* lib/unistd.in.h (includes): Likewise.
* m4/locale_h.m4 (gl_LOCALE_H): Replace locale.h if stddef.h was
replaced.
* m4/wchar.m4 (gl_WCHAR_H): Likewise.
* m4/stddef_h.m4: New file.
* modules/stddef: Likewise.
* lib/stddef.in.h: Likewise.
* modules/stddef-tests: Likewise.
* tests/test-stddef.c: Likewise.
* MODULES.html.sh (Basic types <stddef.h>): Mention new module.
* doc/posix-headers/stddef.texi (stddef.h): Document the bug.
* doc/posix-headers/locale.texi (locale.h): Likewise.
* doc/posix-headers/stdio.texi (stdio.h): Likewise.
* doc/posix-headers/stdlib.texi (stdlib.h): Likewise.
* doc/posix-headers/string.texi (string.h): Likewise.
* doc/posix-headers/time.texi (time.h): Likewise.
* doc/posix-headers/unistd.texi (unistd.h): Likewise.
* doc/posix-headers/wchar.texi (wchar.h): Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net >
2009-08-14 06:45:29 -06:00
Bruno Haible
2b6c08c775
Rename two directories: headers -> posix-headers, functions -> posix-functions.
2008-01-20 00:09:59 +01:00