diff options
author | Christopher Faylor <me@cgf.cx> | 2010-02-15 01:45:05 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-02-15 01:45:05 +0000 |
commit | 8103e40743ef5034dd475e9a52b300bd14be1878 (patch) | |
tree | 13e83654966f4b19f08d3c8f1520418cfc7e856b /winsup/cygwin/select.cc | |
parent | d67a6ce4a8768ee356dbde15662095aef775e6b9 (diff) | |
download | newlib-8103e40743ef5034dd475e9a52b300bd14be1878.zip newlib-8103e40743ef5034dd475e9a52b300bd14be1878.tar.gz newlib-8103e40743ef5034dd475e9a52b300bd14be1878.tar.bz2 |
* 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.cc | 2 |
1 files changed, 0 insertions, 2 deletions
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}; |