1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Commit Graph

83 Commits

Author SHA1 Message Date
Bruno Haible
d1f20d3614 New module 'fclose'. 2008-10-11 14:18:29 +02:00
Bruno Haible
a8b0bc1056 New module 'ioctl'. 2008-10-10 04:33:25 +02:00
Bruno Haible
049efe1da8 Mention new module 'close'. 2008-10-10 02:35:24 +02:00
Bruno Haible
44656541e5 New modules 'accept', 'bind', 'connect', 'getpeername', 'getsockname', 'getsockopt', 'listen', 'recv', 'recvfrom', 'send', 'sendto', 'setsockopt', 'socket'. 2008-10-06 02:15:14 +02:00
Bruno Haible
d952dbeaa9 Update after module 'select' was created. 2008-10-05 17:31:59 +02:00
Richard W.M. Jones
9d7e96c82c fsync: new module
* lib/fsync.c: New file.
* m4/fsync.m4: New file.
* modules/fsync: New file.
* modules/fsync-tests: New file.
* tests/test-fsync.c: New file.
* modules/unistd: Substitute GNULIB_FSYNC and HAVE_FSYNC.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Define and AC_SUBST
both GNULIB_FSYNC and HAVE_FSYNC.
* lib/unistd.in.h (@GNULIB_FSYNC@): Add a block for fsync.
* MODULES.html.sh (posix_functions): Add fsync.
* doc/posix-functions/fsync.texi: Update.
2008-10-02 08:44:44 +02:00
Bruno Haible
60c92ef259 Avoid the broken posix_spawn function on AIX 5.3 and 6.1. 2008-10-02 01:26:13 +02:00
Paolo Bonzini
32848a0b17 documentation update for mingw socket functions
2008-08-24  Paolo Bonzini  <bonzini@gnu.org>

	* doc/posix-functions/accept.texi: Update mingw problems.
	* doc/posix-functions/bind.texi: Update mingw problems.
	* doc/posix-functions/close.texi: Update mingw problems.
	* doc/posix-functions/connect.texi: Update mingw problems.
	* doc/posix-functions/getpeername.texi: Update mingw problems.
	* doc/posix-functions/getsockname.texi: Update mingw problems.
	* doc/posix-functions/getsockopt.texi: Update mingw problems.
	* doc/posix-functions/ioctl.texi: Update mingw problems.
	* doc/posix-functions/listen.texi: Update mingw problems.
	* doc/posix-functions/recv.texi: Update mingw problems.
	* doc/posix-functions/recvfrom.texi: Update mingw problems.
	* doc/posix-functions/select.texi: Update mingw problems.
	* doc/posix-functions/send.texi: Update mingw problems.
	* doc/posix-functions/sendto.texi: Update mingw problems.
	* doc/posix-functions/setsockopt.texi: Update mingw problems.
	* doc/posix-functions/socket.texi: Update mingw problems.
2008-09-29 13:28:59 +02:00
Bruno Haible
4fd7cdb11e Tweak patch that overrides open() and fopen(). 2008-09-28 14:59:52 +02:00
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