summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-03-13 20:20:58 +0000
committerChristopher Faylor <me@cgf.cx>2011-03-13 20:20:58 +0000
commit9636c4262e16846fb595d1fffa711ca4aa70dc47 (patch)
tree56b6dcfb435d0bab56385857c0923faaea4814b0 /winsup/cygwin/autoload.cc
parent7a9064faa5e409a77f59a9a26ec4168f800f234d (diff)
downloadcygnal-9636c4262e16846fb595d1fffa711ca4aa70dc47.tar.gz
cygnal-9636c4262e16846fb595d1fffa711ca4aa70dc47.tar.bz2
cygnal-9636c4262e16846fb595d1fffa711ca4aa70dc47.zip
* 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.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
0 files changed, 0 insertions, 0 deletions