* pipe.cc (make_pipe): Set fork fixup flag for read pipe.

This commit is contained in:
Christopher Faylor 2002-12-14 05:44:06 +00:00
parent ae31932c4f
commit 41dd227c2b
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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);