diff options
author | Christopher Faylor <me@cgf.cx> | 2009-06-14 23:42:09 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-06-14 23:42:09 +0000 |
commit | fee56469d473166006476374717805e0901bda0f (patch) | |
tree | 28aa717f4264869399392b91b4218ac47f580597 /winsup/cygwin/errno.cc | |
parent | 313c719cb83191e8ea0072edba4d9d399737eac4 (diff) | |
download | cygnal-fee56469d473166006476374717805e0901bda0f.tar.gz cygnal-fee56469d473166006476374717805e0901bda0f.tar.bz2 cygnal-fee56469d473166006476374717805e0901bda0f.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/errno.cc')
-rw-r--r-- | winsup/cygwin/errno.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc index fc14dcbe3..617970a72 100644 --- a/winsup/cygwin/errno.cc +++ b/winsup/cygwin/errno.cc @@ -139,6 +139,7 @@ static NO_COPY struct X (WRITE_PROTECT, EROFS), X (SEEK, EINVAL), X (SECTOR_NOT_FOUND, EINVAL), + X (IO_INCOMPLETE, EAGAIN), { 0, NULL, 0} }; |