* posix/wordexp.c (exec_comm): Use pipe2 if possible to create
commite038616f4a681bef050a2b20971c1d9af4fe7312
authorUlrich Drepper <drepper@redhat.com>
Sun, 27 Jul 2008 19:08:19 +0000 (27 19:08 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 27 Jul 2008 19:08:19 +0000 (27 19:08 +0000)
treef4beb045e6a0d4915bdb158af0ea6f8ff6160abd
parentd6e0c2a67dbdb3f940d60f68bbcf58a5bdee4a97
* posix/wordexp.c (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.
ChangeLog
NEWS
libio/iopopen.c
posix/wordexp.c