diff options
author | Christopher Faylor <me@cgf.cx> | 2011-03-09 16:55:54 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-03-09 16:55:54 +0000 |
commit | ed6b66c88d71081ffeaf08c856d181612bea4e8e (patch) | |
tree | 4cca267bc49bf140077e8705e8348fc352fa8b7a | |
parent | 779ece3ce001d7edc79e5dce22816dde9f61ed27 (diff) | |
download | newlib-ed6b66c88d71081ffeaf08c856d181612bea4e8e.zip newlib-ed6b66c88d71081ffeaf08c856d181612bea4e8e.tar.gz newlib-ed6b66c88d71081ffeaf08c856d181612bea4e8e.tar.bz2 |
* fhandler.cc (fhandler_base_overlapped::write_overlapp): Oops! Accommodate
change in arguments to wait_overlapped.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/fhandler.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e833d9f..5f04185 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2011-03-09 Christopher Faylor <me.cygwin@cgf.cx> + + * fhandler.cc (fhandler_base_overlapped::write_overlapp): Oops! + Accommodate change in arguments to wait_overlapped. + 2011-03-09 Christopher Faylor <me+cygwin@cgf.cx> * errno.cc (errmap): Change mapping of NO_SYSTEM_RESOURCES to EFBIG. diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 24a67de..7c95b33 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); |