Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-06-15 03:42:09 +0400
committerChristopher Faylor <me@cgf.cx>2009-06-15 03:42:09 +0400
commitfee56469d473166006476374717805e0901bda0f (patch)
tree28aa717f4264869399392b91b4218ac47f580597 /winsup/cygwin/errno.cc
parent313c719cb83191e8ea0072edba4d9d399737eac4 (diff)
* 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.cc1
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}
};