]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: FIFO: Revert "take ownership on exec"
authorKen Brown <kbrown@cornell.edu>
Tue, 19 May 2020 14:14:10 +0000 (10:14 -0400)
committerKen Brown <kbrown@cornell.edu>
Fri, 22 May 2020 14:30:54 +0000 (10:30 -0400)
commitfe937e21ad6041fad12751d3e4867602e2737739
tree9bddff061347769341ac32ba91e82d29f5346163
parent0365031ce1347600d854a23f30f1355745a1765c
Cygwin: FIFO: Revert "take ownership on exec"

This reverts commit 39a9cd94651d306117c47ea1ac3eab45f6098d0e.

There is no need to explicitly take ownership in fixup_after_exec; if
ownership transfer is needed, it will be taken care of by
fhandler_fifo::close when the parent closes.  Moreover, closing the
parent's fifo_reader_thread can cause problems, such as the one
reported here:

  https://cygwin.com/pipermail/cygwin-patches/2020q2/010235.html
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_fifo.cc
This page took 0.031218 seconds and 5 git commands to generate.