* fhandler.cc (fhandler_base_overlapped::write_overlapp): Oops! Accommodate
change in arguments to wait_overlapped.
This commit is contained in:
parent
779ece3ce0
commit
ed6b66c88d
|
@ -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>
|
2011-03-09 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* errno.cc (errmap): Change mapping of NO_SYSTEM_RESOURCES to EFBIG.
|
* errno.cc (errmap): Change mapping of NO_SYSTEM_RESOURCES to EFBIG.
|
||||||
|
|
|
@ -1855,7 +1855,7 @@ fhandler_base_overlapped::write_overlapped (const void *ptr, size_t len)
|
||||||
{
|
{
|
||||||
bool res = WriteFile (get_output_handle (), ptr, len, &nbytes,
|
bool res = WriteFile (get_output_handle (), ptr, len, &nbytes,
|
||||||
get_overlapped ());
|
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:
|
case overlapped_fallback:
|
||||||
nbytes = write_overlapped_fallback (ptr, len);
|
nbytes = write_overlapped_fallback (ptr, len);
|
||||||
|
|
Loading…
Reference in New Issue