1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/doc/posix-functions/posix_spawn_file_actions_adddup2.texi
Bruno Haible 3f89a5e2c8 posix_spawn_file_actions_adddup2: Work around Solaris 11 2011-11 bug.
* m4/spawn_h.m4 (gl_SPAWN_H_DEFAULTS): Initialize
REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2.
* m4/posix_spawn.m4 (gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2): New
macro.
* lib/spawn.in.h (posix_spawn_file_actions_adddup2): Test
REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2, not REPLACE_POSIX_SPAWN.
* lib/spawn_faction_adddup2.c: Add workaround implementation if
HAVE_WORKING_POSIX_SPAWN.
* modules/spawn (Makefile): Substitute
REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2.
* modules/posix_spawn_file_actions_adddup2 (configure.ac): Invoke
gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2. Test
REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2, not REPLACE_POSIX_SPAWN.
(Depends-on): Update conditions.
* doc/posix-functions/posix_spawn_file_actions_adddup2.texi: Mention
the Solaris 11 bug.
2012-01-08 23:03:26 +01:00

22 lines
740 B
Plaintext

@node posix_spawn_file_actions_adddup2
@section @code{posix_spawn_file_actions_adddup2}
@findex posix_spawn_file_actions_adddup2
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/posix_spawn_file_actions_adddup2.html}
Gnulib module: posix_spawn_file_actions_adddup2
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
MacOS X 10.4, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin, mingw, MSVC 9, Interix 3.5, BeOS.
@item
This function does not reject a too large file descriptor on some platforms:
Solaris 11 2011-11.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize