Mercurial > hg > octave-lojdl
changeset 7732:bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
author | Michael Goffioul |
---|---|
date | Thu, 24 Apr 2008 15:42:57 -0400 |
parents | 2d2a969c731c |
children | bb614b3883a9 |
files | liboctave/ChangeLog liboctave/lo-sysdep.cc |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,7 @@ +2008-04-24 Michael Goffioul <michael.goffioul@gmail.com> + + * lo-sysdep.cc (octave_popen2): Don't set PIPE_NOWAIT for parentWrite. + 2008-04-21 John W. Eaton <jwe@octave.org> * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (const boolNDArray&)):
--- a/liboctave/lo-sysdep.cc +++ b/liboctave/lo-sysdep.cc @@ -141,7 +141,6 @@ { pipeMode = PIPE_NOWAIT; SetNamedPipeHandleState (parentRead, &pipeMode, 0, 0); - SetNamedPipeHandleState (parentWrite, &pipeMode, 0, 0); } fildes[1] = _open_osfhandle (reinterpret_cast<long> (parentRead), _O_RDONLY | _O_BINARY); fildes[0] = _open_osfhandle (reinterpret_cast<long> (parentWrite), _O_WRONLY | _O_BINARY);