1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-18 23:42:00 +03:00
Commit Graph

74 Commits

Author SHA1 Message Date
Bruno Haible
12d62c329c New module 'posix_spawnp'. 2008-09-28 14:13:29 +02:00
Bruno Haible
cc342d20bb New module 'posix_spawn'. 2008-09-28 14:12:27 +02:00
Bruno Haible
9a261f6811 New module 'posix_spawnattr_destroy'. 2008-09-28 14:10:42 +02:00
Bruno Haible
ac5e1445a1 New module 'posix_spawnattr_setsigmask'. 2008-09-28 14:08:51 +02:00
Bruno Haible
a6694a282b New module 'posix_spawnattr_getsigmask'. 2008-09-28 14:08:04 +02:00
Bruno Haible
e1bc60aed6 New module 'posix_spawnattr_setsigdefault'. 2008-09-28 14:06:01 +02:00
Bruno Haible
2903a5c691 New module 'posix_spawnattr_getsigdefault'. 2008-09-28 14:05:12 +02:00
Bruno Haible
2c984d42b8 New module 'posix_spawnattr_setschedpolicy'. 2008-09-28 14:03:11 +02:00
Bruno Haible
a5ca560fc2 New module 'posix_spawnattr_getschedpolicy'. 2008-09-28 14:02:21 +02:00
Bruno Haible
84d81c6ca8 New module 'posix_spawnattr_setschedparam'. 2008-09-28 14:00:30 +02:00
Bruno Haible
4dd331b3cf New module 'posix_spawnattr_getschedparam'. 2008-09-28 13:59:47 +02:00
Bruno Haible
c723de1411 New module 'posix_spawnattr_setpgroup'. 2008-09-28 13:57:30 +02:00
Bruno Haible
67d9fa5346 New module 'posix_spawnattr_getpgroup'. 2008-09-28 13:56:42 +02:00
Bruno Haible
3a88d6d488 New module 'posix_spawnattr_setflags'. 2008-09-28 13:54:55 +02:00
Bruno Haible
8a40c5c8c7 New module 'posix_spawnattr_getflags'. 2008-09-28 13:54:09 +02:00
Bruno Haible
1ff0e56031 New module 'posix_spawnattr_init'. 2008-09-28 13:52:28 +02:00
Bruno Haible
350d23d166 New module 'posix_spawn_file_actions_destroy'. 2008-09-28 13:49:24 +02:00
Bruno Haible
eab7b90dfe New module 'posix_spawn_file_actions_addopen'. 2008-09-28 13:47:46 +02:00
Bruno Haible
23be8c8099 New module 'posix_spawn_file_actions_adddup2'. 2008-09-28 13:46:16 +02:00
Bruno Haible
b69271fcc2 New module 'posix_spawn_file_actions_addclose'. 2008-09-28 13:44:29 +02:00
Bruno Haible
aa88bb9d68 New module 'posix_spawn_file_actions_init'. 2008-09-28 13:42:34 +02:00
Bruno Haible
9ff044ec4d Support SIGPIPE in stdio functions for writing. 2008-09-26 13:44:54 +02:00
Bruno Haible
94b87393b6 New module 'write'. 2008-09-26 13:44:52 +02:00
Eric Blake
810a812bee open, fopen: close fd leak in last patch
* 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>
2008-09-24 10:55:19 -06:00
Bruno Haible
955345ebeb Ensure that a filename ending in a slash cannot be used to access a non-directory. 2008-09-24 13:50:02 +02:00
Eric Blake
ad73682838 c-stack: work around Irix sigaltstack bug
* 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>
2008-09-23 08:47:26 -06:00
Eric Blake
09d1d202ea fopen: document mingw bug on directories
* 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>
2008-09-23 06:52:20 -06:00
Bruno Haible
244b71aedb Add info about functions missing on IRIX 5.3. 2008-09-23 12:50:53 +02:00
Bruno Haible
cfa381fc27 New module 'strdup-posix'. 2008-09-21 14:54:54 +02:00
Bruno Haible
20e0053293 Override <errno.h> also on Cygwin. 2008-09-15 12:26:17 +02:00
Bruno Haible
3aa0d4da24 New module 'perror'. 2008-09-14 13:50:55 +02:00
Bruno Haible
ce85bc7be7 Doc tweak. 2008-09-14 12:36:24 +02:00
Bruno Haible
6c560a52fc Extend strerror to cover the added errno values. 2008-09-14 04:18:44 +02:00
Eric Blake
314fcbb7de frexp: test for NetBSD failure on -0.0
* 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>
2008-09-12 06:52:41 -06:00
Bruno Haible
bf22d71aab Work around bug with trailing slash on Solaris 9 and HP-UX 11.00. 2008-08-30 14:38:47 +02:00
Bruno Haible
4c7d2071f7 Fix description of strftime module. 2008-08-25 12:22:45 +02:00
Eric Blake
a3f953e868 c-stack: fix regression on Irix 5.3 from 2008-06-21
* 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>
2008-08-17 08:09:55 -06:00
Ben Pfaff
2cc4af230b Add isinf module. 2008-07-25 21:56:40 -07:00
Ben Pfaff
7080851f5a Add isnan module. 2008-07-12 11:27:15 -07:00
Bruno Haible
8e23c2d799 Move and fix the obsolescence note. 2008-06-22 22:02:39 +02:00
Eric Blake
cfb3906f21 New module sigaction, for mingw.
* 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>
2008-06-21 14:51:56 -06:00
Bruno Haible
8346ecd045 Work around open() bug on HP-UX 11 and Solaris 9. 2008-06-12 02:17:36 +02:00
Bruno Haible
6c66c78cf6 Fix doc about _setjmp. 2008-06-07 13:49:10 +02:00
Eric Blake
8018d5eb28 Document abort() bugs.
* 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>
2008-06-06 11:32:18 -06:00
Jim Meyering
a0bdb062d7 remove trailing blanks 2008-05-20 08:45:49 +02:00
Eric Blake
a37217922a Glibc finally accepted the memmem speedup code, bugzilla #5514.
* 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>
2008-05-15 06:16:11 -06:00
Bruno Haible
c08b54301d Mention a problem on mingw. 2008-04-28 11:24:51 +02:00
Bruno Haible
bfef7ab349 Fix 'isfinite' on x86, x86_64, ia64 platforms. 2008-04-27 14:07:20 +02:00
Bruno Haible
5feb6a2ef2 Replace the isw* functions on Linux libc5. 2008-04-22 01:56:52 +02:00
Simon Josefsson
ee303d1ff2 (strftime): Explain better Windows incompatibility.
Suggested by Micah Cowan <micah@cowan.name>.
2008-04-21 11:03:51 +02:00