diff options
author | Christopher Faylor <me@cgf.cx> | 2012-02-01 05:27:42 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-02-01 05:27:42 +0000 |
commit | ee766fda6847aa449557885ad82b0da86ac1c799 (patch) | |
tree | c0b76b0cd7dd09586b53dbf2b9e4475e69656923 /winsup/cygwin/fhandler.cc | |
parent | d3cb1dffefe964ae9bfd4a47a8075c2b3ecfd27f (diff) | |
download | cygnal-ee766fda6847aa449557885ad82b0da86ac1c799.tar.gz cygnal-ee766fda6847aa449557885ad82b0da86ac1c799.tar.bz2 cygnal-ee766fda6847aa449557885ad82b0da86ac1c799.zip |
* fhandler.cc (fhandler_base_overlapped::has_ongoing_io): Don't block
GetOverlappedResult since previous IsEventSignalled will have reset the handle.
* select.cc (cygwin_select): Remove space before parentheses in syscall
debugging output.
(pipe_data_available): Streamline if block.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 0997c9abb..ef25a07b8 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -1900,7 +1900,7 @@ fhandler_base_overlapped::has_ongoing_io () return true; io_pending = false; DWORD nbytes; - GetOverlappedResult (get_output_handle (), get_overlapped (), &nbytes, true); + GetOverlappedResult (get_output_handle (), get_overlapped (), &nbytes, false); return false; } |