aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-12-14 05:44:06 +0000
committerChristopher Faylor <me@cgf.cx>2002-12-14 05:44:06 +0000
commit41dd227c2bbb4a45e2da43f2164b62d4c1e291a5 (patch)
treeb31c1b7e1879b1aad1b166d5cd5cf713f8c52858 /winsup
parentae31932c4fde27f432b53299b9011ed0a33a62f1 (diff)
downloadnewlib-41dd227c2bbb4a45e2da43f2164b62d4c1e291a5.zip
newlib-41dd227c2bbb4a45e2da43f2164b62d4c1e291a5.tar.gz
newlib-41dd227c2bbb4a45e2da43f2164b62d4c1e291a5.tar.bz2
* pipe.cc (make_pipe): Set fork fixup flag for read pipe.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/pipe.cc1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 1a98713..4a19c5a 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
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.
2002-12-14 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc
index bfca32e..9b07410 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);