OSDN Git Service

* errno.cc (errmap): Add mapping for ERROR_IO_INCOMPLETE.
authorcgf <cgf>
Sun, 14 Jun 2009 23:42:08 +0000 (23:42 +0000)
committercgf <cgf>
Sun, 14 Jun 2009 23:42:08 +0000 (23:42 +0000)
commitb7eac1ea5da51d5a06c3a9d6eb8d4555f382f47f
tree249eb89a0915c32838bbe6d477c135c432aeb244
parent8943f085b544b1c835c249036a18493959f427f4
* errno.cc (errmap): Add mapping for ERROR_IO_INCOMPLETE.
* fhandler.cc (fhandler_base::fcntl): Fix comment.
(fhandler_base::wait_overlapped): Accept an optional len parameter.  Use the
len parameter when WriteFile fails with ERROR_IO_PENDING.  Make debug output
less alarming.
(fhandler_base::write_overlapped): Pass len to wait_overlapped.
* fhandler.h (fhandler_base::wait_overlapped): Add an optional argument
denoting the number of characters intended to be written.
* fhandler_tty.cc (fhandler_pty_master::close): Don't close archetype handles
when cygwin is still initializing since the handles aren't actually opened at
that point.
winsup/cygwin/ChangeLog
winsup/cygwin/errno.cc
winsup/cygwin/fhandler.cc
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_tty.cc