summaryrefslogtreecommitdiff
path: root/modules/posix_spawn_file_actions_addopen
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-01-08 22:18:30 +0100
committerBruno Haible <bruno@clisp.org>2012-01-08 23:03:26 +0100
commit3f89a5e2c8f6fc011f525980ff99936a4b0445d0 (patch)
tree291db6b351f9e681e2fa0cde5a323b85ccbae497 /modules/posix_spawn_file_actions_addopen
parent88236bad53d1dd5e6b8a592a724736bbd9db7851 (diff)
downloadgnulib-3f89a5e2c8f6fc011f525980ff99936a4b0445d0.tar.gz
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.
Diffstat (limited to 'modules/posix_spawn_file_actions_addopen')
0 files changed, 0 insertions, 0 deletions