OSDN Git Service

* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Handle
authorcgf <cgf>
Thu, 10 Mar 2011 07:48:05 +0000 (07:48 +0000)
committercgf <cgf>
Thu, 10 Mar 2011 07:48:05 +0000 (07:48 +0000)
commite0a0e0836e5cb16e8472d1e8853769a48571529d
tree18a94bf7fb3fd156c587ff446ce60de95cce6aa9
parent94b6368128cf66a4da685766f302ed4beb1a4cf9
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Handle
overlapped_fallback error condition like other error conditions.  Set res
carefully and specifically for each condition rather than resorting to a
default.
(fhandler_base_overlapped::write_overlapped): Preserve errno in
overlapped_fallback condition.  Correct write_overlapped_fallback to avoid
inappropriate looping.
(fhandler_base_overlapped::write_overlapped_fallback): Add some more comments.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc