(exec_comm): Use pipe2 if possible to create file descriptors with
authordrepper <drepper>
Sun, 27 Jul 2008 19:08:09 +0000 (19:08 +0000)
committerdrepper <drepper>
Sun, 27 Jul 2008 19:08:09 +0000 (19:08 +0000)
commit3893ee97af42e991a8243e861d9a76b6760861fd
tree626c0eb4ed5eee913040c4a7babf03fc7d2588f3
parent3ee4bb53c88d9a508957604529e301735438d5d6
(exec_comm): Use pipe2 if possible to create file descriptors with
close-on-exec set.
(exec_comm_child): Fix the case where the write end of the pipe is
STDOUT_FILENO already.  In case it is, clear close-on-exec.
posix/wordexp.c