From 838b0427d30c485f384485fb455a72288e062ae2 Mon Sep 17 00:00:00 2001 From: cgf Date: Sat, 14 Dec 2002 05:44:06 +0000 Subject: [PATCH] * pipe.cc (make_pipe): Set fork fixup flag for read pipe. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/pipe.cc | 1 + 2 files changed, 5 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1a98713cd0..4a19c5a6a3 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2002-12-14 Christopher Faylor + * pipe.cc (make_pipe): Set fork fixup flag for read pipe. + +2002-12-14 Christopher Faylor + * winbase.h: Turn on inline versions of Interlocked* by default. 2002-12-14 Gary R. Van Sickle diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index bfca32e19f..9b07410013 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -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); -- 2.11.0