This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog fhandler.cc fhandler.h
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 14 Mar 2011 09:32:05 -0000
- Subject: src/winsup/cygwin ChangeLog fhandler.cc fhandler.h
CVSROOT: /cvs/src
Module name: src
Branch: cv-post-1_7_9
Changes by: corinna@sourceware.org 2011-03-14 09:32:05
Modified files:
winsup/cygwin : ChangeLog fhandler.cc fhandler.h
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.5189.2.10&r2=1.5189.2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.379&r2=1.379.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&only_with_tag=cv-post-1_7_9&r1=1.411&r2=1.411.2.1