aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/pinfo.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-04-22 13:58:09 +0000
committerChristopher Faylor <me@cgf.cx>2005-04-22 13:58:09 +0000
commitfb201f9270852972b28ceee21bcc2cfbf2e89e15 (patch)
tree4cedce7b18d548c5166872d627c56eb5df0cbcd3 /winsup/cygwin/pinfo.cc
parentb13aa0048929834caaba6aba47e70125bc436e31 (diff)
downloadnewlib-fb201f9270852972b28ceee21bcc2cfbf2e89e15.zip
newlib-fb201f9270852972b28ceee21bcc2cfbf2e89e15.tar.gz
newlib-fb201f9270852972b28ceee21bcc2cfbf2e89e15.tar.bz2
* fhandler.cc (fhandler_base::read): Remove unused signal state tweaks.
* fhandler.h (fhandler_pipe::create_selectable): Declare. (fhandler_fifo::close_one_end): Declare. * fhandler_fifo.cc (fhandler_fifo::close_one_end): Define. (fhandler_fifo::open_not_mine): Use close_one_end to close appropriate end of pipe. * pinfo.cc (_pinfo::commune_recv): Ditto. * pipe.cc (fhandler_pipe::create_selectable): Rename from create_selectable_pipe. Reorganize. (fhandler_pipe::create): Use create_selectable.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 79829e3..a0f7c48 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -611,6 +611,7 @@ _pinfo::commune_recv ()
break;
}
debug_printf ("fifo found %p, %p", it[0], it[1]);
+ fh->close_one_end (); /* FIXME: not quite right - need more handshaking */
}
CloseHandle (hp);