]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/pex-win32.c
pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
authorJulian Brown <julian@codesourcery.com>
Wed, 29 Apr 2009 11:48:33 +0000 (11:48 +0000)
committerJulian Brown <jules@gcc.gnu.org>
Wed, 29 Apr 2009 11:48:33 +0000 (11:48 +0000)
commit6874160d02e7dbcee6f2539daa6f884f3d958359
treea19a5fba3900e1df858629fe1bbb3da083cacc43
parent307e7eab85d2ced177c2454fdf9c9e51f19a6da9
pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.

* pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
(pex_win32_exec_child): Ensure each process has only one handle open
on pipe endpoints. Close standard input after creating child for
symmetry with standard output/standard error.

From-SVN: r146953
libiberty/ChangeLog
libiberty/pex-win32.c