OSDN Git Service

* pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Apr 2009 11:48:33 +0000 (11:48 +0000)
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Apr 2009 11:48:33 +0000 (11:48 +0000)
commit038533d3585ad019d90f91704ed9df0b75709f84
treea19a5fba3900e1df858629fe1bbb3da083cacc43
parent2a21643e4653c318b6f07d9b6c202fd1a1a80c4e
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146953 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/pex-win32.c