diff options
author | Christopher Faylor <me@cgf.cx> | 2011-03-09 19:55:54 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-03-09 19:55:54 +0300 |
commit | ed6b66c88d71081ffeaf08c856d181612bea4e8e (patch) | |
tree | 4cca267bc49bf140077e8705e8348fc352fa8b7a /winsup/cygwin/fhandler.cc | |
parent | 779ece3ce001d7edc79e5dce22816dde9f61ed27 (diff) |
* fhandler.cc (fhandler_base_overlapped::write_overlapp): Oops! Accommodate
change in arguments to wait_overlapped.
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 24a67de1c..7c95b33c6 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -1855,7 +1855,7 @@ fhandler_base_overlapped::write_overlapped (const void *ptr, size_t len) { bool res = WriteFile (get_output_handle (), ptr, len, &nbytes, get_overlapped ()); - switch (wait_overlapped (res, true, &nbytes, (size_t) len)) + switch (wait_overlapped (res, true, &nbytes, is_nonblocking (), (size_t) len)) { case overlapped_fallback: nbytes = write_overlapped_fallback (ptr, len); |