]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Remove special
authorChristopher Faylor <me@cgf.cx>
Sun, 13 Mar 2011 20:20:58 +0000 (20:20 +0000)
committerChristopher Faylor <me@cgf.cx>
Sun, 13 Mar 2011 20:20:58 +0000 (20:20 +0000)
commit9636c4262e16846fb595d1fffa711ca4aa70dc47
tree56b6dcfb435d0bab56385857c0923faaea4814b0
parent7a9064faa5e409a77f59a9a26ec4168f800f234d
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Remove special
treatment for ERROR_NO_SYSTEM_RESOURCES.  Cancel I/O and reset the overlapped
handle on error.
(fhandler_base_overlapped::write_overlapped): Limit writes to max_atomic_write
bytes in blocking case.  Incorporate code from now-defunct
write_overlapped_fallback.  Fix serious oversight where ptr was not advanced as
buffer was written.
(fhandler_base_overlapped::write_overlapped_fallback): Eliminate.
* fhandler.h (fhandler_base_overlapped::write_overlapped_fallback): Ditto for
declaration.
(DEFAULT_PIPEBUFSIZE): Lower size to slightly less than documented worst-case
atomic write size.
(fhandler_overlapped::wait_return): Remove unused element.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc
winsup/cygwin/fhandler.h
This page took 0.02951 seconds and 5 git commands to generate.