summaryrefslogtreecommitdiff
path: root/doc/posix-functions
Commit message (Collapse)AuthorAgeFilesLines
* New module 'write'.Bruno Haible2008-09-261-1/+6
|
* open, fopen: close fd leak in last patchEric Blake2008-09-242-2/+2
| | | | | | | | | | | * lib/open.c (rpl_open): Close fd before returning error. * lib/fopen.c (rpl_fopen): Close fd before returning error. * doc/posix-functions/open.texi (open): Document that Irix also has the bug. * doc/posix-functions/fopen.texi (fopen): Likewise. Reported by Paolo Bonzini. Signed-off-by: Eric Blake <ebb9@byu.net>
* Ensure that a filename ending in a slash cannot be used to access a ↵Bruno Haible2008-09-242-2/+4
| | | | non-directory.
* c-stack: work around Irix sigaltstack bugEric Blake2008-09-231-1/+7
| | | | | | | | | | | | * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Check whether sigaltstack uses wrong end of stack_t (copied in part from libsigsegv). * lib/c-stack.c (c_stack_action) [!HAVE_LIBSIGSEGV]: Work around Irix bug, without requiring an over-allocation. * doc/posix-functions/sigaltstack.texi (sigaltstack): Document the bug. Signed-off-by: Eric Blake <ebb9@byu.net>
* fopen: document mingw bug on directoriesEric Blake2008-09-231-0/+6
| | | | | | | | * doc/posix-functions/fopen.texi (fopen): Mention mingw bug for not allowing a stream visiting a directory, even though reading from such a stream is not portable. Signed-off-by: Eric Blake <ebb9@byu.net>
* Add info about functions missing on IRIX 5.3.Bruno Haible2008-09-23127-126/+129
|
* New module 'strdup-posix'.Bruno Haible2008-09-211-3/+7
|
* Override <errno.h> also on Cygwin.Bruno Haible2008-09-152-2/+2
|
* New module 'perror'.Bruno Haible2008-09-141-1/+5
|
* Doc tweak.Bruno Haible2008-09-141-2/+2
|
* Extend strerror to cover the added errno values.Bruno Haible2008-09-141-1/+4
|
* frexp: test for NetBSD failure on -0.0Eric Blake2008-09-121-0/+3
| | | | | | | | | * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Enhance test, since some, but not all, bugs from NetBSD 3.0 have been fixed. * doc/posix-functions/frexp.texi (frexp): Document bug. Reported by Thomas Klausner. Signed-off-by: Eric Blake <ebb9@byu.net>
* Work around bug with trailing slash on Solaris 9 and HP-UX 11.00.Bruno Haible2008-08-301-0/+4
|
* Fix description of strftime module.Bruno Haible2008-08-251-1/+1
|
* c-stack: fix regression on Irix 5.3 from 2008-06-21Eric Blake2008-08-171-0/+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>
* Add isinf module.Ben Pfaff2008-07-251-4/+4
|
* Add isnan module.Ben Pfaff2008-07-121-1/+15
|
* Move and fix the obsolescence note.Bruno Haible2008-06-221-3/+3
|
* New module sigaction, for mingw.Eric Blake2008-06-212-2/+26
| | | | | | | | | | | | | | | | | | | | | | * 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>
* Work around open() bug on HP-UX 11 and Solaris 9.Bruno Haible2008-06-121-0/+4
|
* Fix doc about _setjmp.Bruno Haible2008-06-073-9/+16
|
* Document abort() bugs.Eric Blake2008-06-066-5/+21
| | | | | | | | | | | | | | * doc/posix-functions/abort.texi (abort): Mention anomalies. * doc/posix-functions/setjmp.texi (setjmp): Mingw has setjmp. * doc/posix-functions/sigsetjmp.texi (sigsetjmp): Cygwin has sigsetjmp. * doc/posix-functions/siglongjmp.texi (siglongjmp): Cygwin has siglongjmp, but only as a macro. * doc/posix-functions/_longjmp.texi (_longjmp): Mention that this is obsolete. * doc/posix-functions/_setjmp.texi (_setjmp): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* remove trailing blanksJim Meyering2008-05-201-1/+1
|
* Glibc finally accepted the memmem speedup code, bugzilla #5514.Eric Blake2008-05-151-1/+1
| | | | | | | | | | * doc/glibc-functions/memmem.texi (memmem): Mention last broken glibc version. * doc/glibc-functions/strcasestr.texi (strcasestr): Likewise. * doc/posix-functions/strstr.texi (strstr): Likewise. * lib/str-two-way.h (MAX): Sychronize with glibc. Signed-off-by: Eric Blake <ebb9@byu.net>
* Mention a problem on mingw.Bruno Haible2008-04-281-0/+4
|
* Fix 'isfinite' on x86, x86_64, ia64 platforms.Bruno Haible2008-04-271-0/+10
|
* Replace the isw* functions on Linux libc5.Bruno Haible2008-04-2212-45/+81
|
* (strftime): Explain better Windows incompatibility.Simon Josefsson2008-04-211-2/+2
| | | | Suggested by Micah Cowan <micah@cowan.name>.
* Work around roundf() bug on mingw.Bruno Haible2008-04-201-0/+3
|
* Document snprintf bug on Linux libc5.Bruno Haible2008-04-202-0/+8
|
* doc/posix-functions/strftime.texi (strftime): Clarify platform.Simon Josefsson2008-04-181-2/+3
| | | | Suggested by Bruno Haible <bruno@clisp.org>.
* Fix typo.Simon Josefsson2008-04-171-2/+2
|
* Mention that strftime %e doesn't work under Windows.Simon Josefsson2008-04-171-0/+3
|
* Work around a HP-UX stdio bug.Bruno Haible2008-04-132-0/+8
|
* Make truncl work on OSF/1 4.0.Bruno Haible2008-04-131-0/+3
|
* Update test results on OSF/1.Bruno Haible2008-04-011-1/+1
|
* Correct docs for Solaris strtod.Eric Blake2008-03-311-2/+2
| | | | | | | * doc/posix-functions/strtod.texi (strtod): Solaris strtod parses "nan" after all. Signed-off-by: Eric Blake <ebb9@byu.net>
* More strtod documentation.Eric Blake2008-03-311-6/+21
| | | | | | | * doc/posix-functions/strtod.texi (strtod): Interpret more test failures as distinct bugs. Signed-off-by: Eric Blake <ebb9@byu.net>
* Add info about many more platforms.Bruno Haible2008-03-311-12/+11
|
* More strtod touchups.Eric Blake2008-03-301-1/+6
| | | | | | | | | | * tests/test-strtod.c (main): Ignore tests for signbit on NaN, and sign of negative underflow, for now. Use .5, not .1. * doc/posix-functions/strtod.texi (strtod): Mention these limitations. Reported by Jim Meyering. Signed-off-by: Eric Blake <ebb9@byu.net>
* Add hex float support.Eric Blake2008-03-291-8/+11
| | | | | | | | | | | | * modules/strtod (Depends-on): Add c-ctype. (Link): Mention POW_LIB. * lib/strtod.c (strtod): Recognize hex floats. Don't allow whitespace between 'e' and exponent. * tests/test-strtod.c (main): Enable hex float tests. * doc/posix-functions/strtod.texi (strtod): Document what gnulib now provides. Signed-off-by: Eric Blake <ebb9@byu.net>
* Document various strtod bugs, with some fixes.Eric Blake2008-03-292-0/+73
| | | | | | | | | | | | | | | | | | | * doc/posix-functions/strtod.texi (strtod): Document bugs with "-0x", "inf", "nan", and hex constants. * doc/posix-functions/atof.texi (atof): Likewise. * modules/stdlib (Makefile.am): Support strtod. * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Likewise. * m4/strtod.m4 (gl_FUNC_STRTOD): Fit in stdlib framework, and detect additional strtod bugs. * lib/stdlib.in.h (rpl_strtod): Add declarations. * lib/strtod.c (strtod): Return -0.0 on negative underflow. Use bool where appropriate. Parse 'inf' and 'nan'. * tests/test-strtod.c: New file. * modules/strtod (Depends-on): Add stdbool, stdlib. (configure.ac): Turn on module indicator. * modules/strtod-tests: New module. Signed-off-by: Eric Blake <ebb9@byu.net>
* Correct the va_copy definition for AIX 5.Bruno Haible2008-03-111-1/+2
|
* Fix mistake in last commit.Bruno Haible2008-03-091-2/+1
|
* Make fflush after ungetc work on BSD platforms.Bruno Haible2008-03-071-0/+9
|
* Remove useless "if" tests before free. Deprecate "free" module.Jim Meyering2008-03-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | * doc/posix-functions/free.texi: Mention that this module is no longer useful. * modules/free (Notice): Say this module is obsolete. * modules/readutmp (Depends-on): Remove free. * lib/save-cwd.c (free_cwd): Remove useless "if" before free. * lib/putenv.c (putenv): Likewise. * lib/gc-gnulib.c (gc_cipher_close): Likewise. * lib/getaddrinfo.c (freeaddrinfo): Likewise. * tests/test-c-strcasestr.c (main): Likewise. * tests/test-c-strstr.c (main): Likewise. * tests/test-mbscasestr1.c (main): Likewise. * tests/test-mbscasestr2.c (main): Likewise. * tests/test-mbsstr1.c (main): Likewise. * tests/test-mbsstr2.c (main): Likewise. * tests/test-memmem.c (main): Likewise. * tests/test-strcasestr.c (main): Likewise. * tests/test-striconv.c (main): Likewise. * tests/test-striconveh.c (main): Likewise. * tests/test-striconveha.c (main): Likewise. * tests/test-strstr.c (main): Likewise.
* Fix a build problem on HP-UX 10.Bruno Haible2008-02-242-2/+4
|
* Documentation tweak, reported by Peter O'Gorman.Bruno Haible2008-02-241-1/+1
|
* New module 'environ'.Bruno Haible2008-02-241-7/+8
|
* Documentation about problem on MacOS X 10.Bruno Haible2008-02-241-0/+12
|