* 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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user