* pipe.cc (make_pipe): Set fork fixup flag for read pipe.
This commit is contained in:
parent
ae31932c4f
commit
41dd227c2b
|
@ -1,3 +1,7 @@
|
|||
2002-12-14 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* pipe.cc (make_pipe): Set fork fixup flag for read pipe.
|
||||
|
||||
2002-12-14 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* winbase.h: Turn on inline versions of Interlocked* by default.
|
||||
|
|
|
@ -205,6 +205,7 @@ make_pipe (int fildes[2], unsigned int psize, int mode)
|
|||
fildes[0] = fdr;
|
||||
fildes[1] = fdw;
|
||||
fhr->read_state = CreateEvent (&sec_none_nih, FALSE, FALSE, NULL);
|
||||
fhr->set_need_fork_fixup ();
|
||||
|
||||
res = 0;
|
||||
fhr->create_guard (sa);
|
||||
|
|
Loading…
Reference in New Issue