mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
* 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.
33 lines
754 B
Plaintext
33 lines
754 B
Plaintext
Description:
|
|
posix_spawn_file_actions_adddup2() function: augment a child process actions
|
|
specification.
|
|
|
|
Files:
|
|
lib/spawn_faction_adddup2.c
|
|
lib/spawn_int.h
|
|
m4/posix_spawn.m4
|
|
|
|
Depends-on:
|
|
spawn
|
|
getdtablesize [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 = 1]
|
|
posix_spawn_file_actions_init [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 = 1]
|
|
|
|
configure.ac:
|
|
gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2
|
|
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 = 1; then
|
|
AC_LIBOBJ([spawn_faction_adddup2])
|
|
fi
|
|
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<spawn.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Bruno Haible, glibc
|
|
|