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/fhandler.h | |
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/fhandler.h')
-rw-r--r-- | winsup/cygwin/fhandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 4731c3089..1efd8fd58 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -143,7 +143,7 @@ class fhandler_base void del_my_locks (bool); HANDLE read_state; - int wait_overlapped (bool, bool, DWORD *) __attribute__ ((regparm (3))); + int wait_overlapped (bool, bool, DWORD *, DWORD = 0) __attribute__ ((regparm (3))); bool setup_overlapped (bool doit = true) __attribute__ ((regparm (2))); void destroy_overlapped () __attribute__ ((regparm (1))); |