summaryrefslogtreecommitdiff
path: root/doc/posix-headers
Commit message (Collapse)AuthorAgeFilesLines
* Work around broken INT8_MAX, UINT8_MAX etc. values on HP-UX 11.23.Bruno Haible2009-02-261-0/+4
|
* unistd: guarantee STDIN_FILENO here, for OS/2 EMXEric Blake2009-01-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * lib/unistd.in.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Guarantee a definition. * doc/posix-headers/unistd.texi (unistd.h): Document the bug. * modules/unistd-safer (Depends-on): Add dependency on unistd. * lib/c-stack.c (STDERR_FILENO): Rely on <unistd.h>. * lib/dup-safer.c (STDERR_FILENO): Likewise. * lib/execute.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Likewise. * lib/fd-safer.c (STDIN_FILENO, STDERR_FILENO): Likewise. * lib/fopen-safer.c (STDERR_FILENO): Likewise. * lib/pipe.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Likewise. * lib/tmpfile-safer.c (STDERR_FILENO): Likewise. * tests/test-posix_spawn1.c (STDIN_FILENO, STDOUT_FILENO) (STDERR_FILENO): Likewise. * tests/test-posix_spawn2.c (STDIN_FILENO, STDOUT_FILENO) (STDERR_FILENO): Likewise. * tests/test-posix_spawn3.c (STDIN_FILENO, STDOUT_FILENO) (STDERR_FILENO): Likewise. Reported by Elbert Pol. Signed-off-by: Eric Blake <ebb9@byu.net>
* wchar.h: supply WEOF on Irix 5.3Eric Blake2008-12-292-2/+2
| | | | | | | | | | * lib/wchar.in.h (wint_t): Also supply WEOF. * lib/wctype.in.h (wint_t): Likewise. * doc/posix-headers/wchar.texi (wchar.h): Document the bug. * doc/posix-headers/wctype.texi (wctype.h): Likewise. Reported by Tom G. Christensen. Signed-off-by: Eric Blake <ebb9@byu.net>
* Make the netdb.h replacement work on Haiku.Bruno Haible2008-11-151-1/+1
|
* Make the 'sched' module work on platforms where <sched.h> is incomplete.Bruno Haible2008-11-151-0/+7
|
* Add modules for sys/times.h header and times function.Simon Josefsson2008-10-281-4/+4
|
* Define a dummy SA_NODEFER macro on Interix.Bruno Haible2008-10-241-0/+3
|
* netdb: also supply struct addrinfo for cygwin 1.5.xEric Blake2008-10-221-1/+5
| | | | | | | | | | * m4/netdb_h.m4 (gl_HEADER_NETDB): Check for incomplete header on older cygwin. * lib/netdb.in.h [!HAVE_STRUCT_ADDRINFO]: Also supply contents for cygwin. * doc/posix-headers/netdb.texi (netdb.h): Document this. Signed-off-by: Eric Blake <ebb9@byu.net>
* New module 'sys_wait'.Bruno Haible2008-10-191-4/+4
|
* New module 'dirent'.Bruno Haible2008-10-191-1/+1
|
* Add netdb.h replacement module.Simon Josefsson2008-10-151-3/+3
| | | | Currently empty and unused, but that will change soon.
* Update doc of OSF/1 4.0 problem.Bruno Haible2008-10-051-3/+3
|
* OSF/1 4.0 has a <sys/select.h> that lacks 'struct timeval'.Bruno Haible2008-09-281-0/+3
|
* New module 'spawn'.Bruno Haible2008-09-281-5/+5
|
* New module 'sched'.Bruno Haible2008-09-281-4/+4
|
* Module EOVERFLOW is removed.Bruno Haible2008-09-261-1/+1
|
* Reorder items.Bruno Haible2008-09-261-4/+4
|
* Support signal handling with SIGPIPE on native Windows platforms.Bruno Haible2008-09-261-2/+6
|
* Ensure that wint_t gets defined on IRIX 5.3.Bruno Haible2008-09-202-0/+6
|
* Override <errno.h> also on Cygwin.Bruno Haible2008-09-151-2/+5
|
* New module 'errno'.Bruno Haible2008-09-141-3/+18
|
* test-c-stack: fix compilation failure on FreeBSD 5.0Eric Blake2008-08-191-0/+5
| | | | | | | | | | * tests/test-c-stack.c [HAVE_SETRLIMIT]: Include prerequisite headers before <sys/resource.h>. * doc/posix-headers/sys_resource.texi (sys/resource.h): Document the bug. Reported by Nelson H. F. Beebe. Signed-off-by: Eric Blake <ebb9@byu.net>
* c-stack: fix regression on Irix 5.3 from 2008-06-21Eric Blake2008-08-171-4/+5
| | | | | | | | | | | | | | | | | * m4/c-stack.m4 (gl_PREREQ_C_STACK): Move check for sa_sigaction... * m4/sigaction.m4 (gl_PREREQ_SIG_HANDLER_H): ...here. (gl_PREREQ_SIGACTION): Depend on sig-handler.h prereq's. * m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Set the default. * modules/signal (Makefile.am): Use the value. * lib/signal.in.h (sa_sigaction) [HAVE_SIGACTION && !HAVE_STRUCT_SIGACTION_SA_SIGACTION]: Define. * doc/posix-headers/signal.texi (signal.h): Document this portability issue. * doc/posix-functions/sigaction.texi (sigaction): Likewise. Reported by Tom G. Christensen. Signed-off-by: Eric Blake <ebb9@byu.net>
* New module sigaction, for mingw.Eric Blake2008-06-211-1/+13
| | | | | | | | | | | | | | | | | | | | | | * modules/sigaction: New module... * modules/sigaction-tests: ...and its test. * m4/sigaction.m4: New file. * lib/sigaction.c: Likewise. * tests/test-sigaction.c: Likewise. * m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Add sigaction variables. * modules/signal (Makefile.am): Likewise. * lib/signal.in.h (!@HAVE_SIGACTION@): Define replacements when needed. * doc/posix-headers/signal.texi (signal.h): Mention provided types. * doc/posix-functions/siginterrupt.texi (siginterrupt): Mention that sigaction is preferable. * doc/posix-functions/sigaction.texi (sigaction): Mention new module. * MODULES.html.sh (Support for systems lacking POSIX:2001): Add sigaction. Signed-off-by: Eric Blake <ebb9@byu.net>
* Override <sys/socket.h> when it exists but is incomplete.Bruno Haible2008-04-131-0/+5
|
* Work around Solaris 10 math.h bug.Eric Blake2008-04-121-1/+11
| | | | | | | | | | | | | * m4/math_h.m4 (gl_MATH_H): Check for bug. (gl_MATH_H_DEFAULTS): Set up default. * modules/math (Makefile.am): Replace new indicators. * lib/math.in.h (NAN, HUGE_VAL): Provide replacements. * tests/test-math.c (main): Test this. * m4/strtod.m4 (gl_FUNC_STRTOD): Don't rely on HUGE_VAL. * doc/posix-headers/math.texi (math.h): Mention bug. Reported by Nelson H. F. Beebe and Jim Meyering. Signed-off-by: Eric Blake <ebb9@byu.net>
* Refine documentation of NAN problem.Bruno Haible2008-04-021-5/+5
|
* Guarantee a definition of NAN.Eric Blake2008-03-311-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/math.in.h (NAN): Define if missing. * tests/test-math.c (main): Test it. * doc/posix-headers/math.texi (math.h): Document this. * lib/isnan.c (rpl_isnand): Use it. * tests/test-ceilf1.c (NaN): Delete, and use NAN instead. * tests/test-floorf1.c (NaN): Likewise. * tests/test-frexp.c (NaN): Likewise. * tests/test-isnand.c (NaN): Likewise. * tests/test-isnanf.c (NaN): Likewise. * tests/test-round1.c (NaN): Likewise. * tests/test-roundf1.c (NaN): Likewise. * tests/test-snprintf-posix.h (NaN): Likewise. * tests/test-sprintf-posix.h (NaN): Likewise. * tests/test-trunc1.c (NaN): Likewise. * tests/test-truncf1.c (NaN): Likewise. * tests/test-vasnprintf-posix.c (NaN): Likewise. * tests/test-vasprintf-posix.c (NaN): Likewise. * modules/isnand-nolibm (Depends-on): Add math. * modules/isnanf-nolibm (Depends-on): Likewise. * modules/isnanl (Depends-on): Likewise. * modules/isnanl-nolibm (Depends-on): Likewise. * modules/snprintf-posix-tests (Depends-on): Likewise. * modules/sprintf-posix-tests (Depends-on): Likewise. * modules/vsnprintf-posix-tests (Depends-on): Likewise. * modules/vsprintf-posix-tests (Depends-on): Likewise. * modules/vasnprintf-posix-tests (Depends-on): Likewise. * modules/vasprintf-posix-tests (Depends-on): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* New module 'EOVERFLOW'.Bruno Haible2008-03-301-1/+4
|
* Rename two directories: headers -> posix-headers, functions -> posix-functions.Bruno Haible2008-01-2085-0/+1598