]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: FIFO: duplicate the i/o handle when opening a duplexer
authorKen Brown <kbrown@cornell.edu>
Sat, 20 Apr 2019 15:49:35 +0000 (11:49 -0400)
committerKen Brown <kbrown@cornell.edu>
Sat, 20 Apr 2019 18:31:07 +0000 (14:31 -0400)
commitef269531a96b649ae27395f272cf95aa2c7062fa
tree22d83cf0ec9c4e51d35950142f25c15b25e771a7
parent4ecea14a5800e2f134f6e61d4eb8720982782a43
Cygwin: FIFO: duplicate the i/o handle when opening a duplexer

Don't use the same i/o handle for the first client handler as is used
for the fhandler itself; this can lead to a later attempt to close the
same handle twice.  Instead use a duplicate.
winsup/cygwin/fhandler_fifo.cc
This page took 0.031001 seconds and 5 git commands to generate.