Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-02-15 04:45:05 +0300
committerChristopher Faylor <me@cgf.cx>2010-02-15 04:45:05 +0300
commit8103e40743ef5034dd475e9a52b300bd14be1878 (patch)
tree13e83654966f4b19f08d3c8f1520418cfc7e856b /winsup/cygwin/select.cc
parentd67a6ce4a8768ee356dbde15662095aef775e6b9 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r--winsup/cygwin/select.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index 64c3cdecd..e1906cb14 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};