From 8103e40743ef5034dd475e9a52b300bd14be1878 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 15 Feb 2010 01:45:05 +0000 Subject: * fhandler.cc (fhandler_base::setup_overlapped): Don't set signalled state to true initially. (fhandler_base::has_ongoing_io): Delete ill-advised function. (fhandler_base::read_overlapped): Rely on caller having checked nonblocking state. Don't attempt to (incorrectly) check it here. (fhandler_base::write_overlapped): Remove call to has_ongoing_io. * select.cc (peek_pipe): Ditto. * fhandler.h (fhandler_base::has_ongoing_io): Delete declaration. --- winsup/cygwin/select.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'winsup/cygwin/select.cc') diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index 64c3cde..e1906cb 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -526,8 +526,6 @@ out: else if (fh->get_device () == FH_PIPER) select_printf ("%s, select for write on read end of pipe", fh->get_name ()); - else if (fh->has_ongoing_io (true)) - s->write_ready = false; else { IO_STATUS_BLOCK iosb = {0}; -- cgit v1.1