]> sourceware.org Git - newlib-cygwin.git/commitdiff
* pipe.cc (make_pipe): Set fork fixup flag for read pipe.
authorChristopher Faylor <me@cgf.cx>
Sat, 14 Dec 2002 05:44:06 +0000 (05:44 +0000)
committerChristopher Faylor <me@cgf.cx>
Sat, 14 Dec 2002 05:44:06 +0000 (05:44 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/pipe.cc

index 1a98713cd0797d951294e8da51cad0fe91f0595d..4a19c5a6a3b71691b1b9b0e0d1b4810e248aa9e3 100644 (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.
index bfca32e19f9bc54cb891874832497c7ea45f44e2..9b07410013b0f8ddc7eacb5b95c75cc5fe51cc79 100644 (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);
This page took 0.033593 seconds and 5 git commands to generate.