* 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.
This commit is contained in:
Christopher Faylor
2012-02-01 05:27:42 +00:00
parent d3cb1dffef
commit ee766fda68
3 changed files with 46 additions and 48 deletions

View File

@@ -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;
}