diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-11-13 21:37:15 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-11-13 21:37:15 +0300 |
commit | 73742508fcd8e994450582c1b7296c709da66764 (patch) | |
tree | c405f5ab833dc3813d0d1b4d6b5aea57abbd713f /winsup/cygwin/ChangeLog | |
parent | d544f256d1c575f6358d6a9405f7906a5cfbce36 (diff) |
* fhandler.h (fhandler_termios::line_edit): Add parameter to return
written bytes.
* fhandler_termios.cc (fhandler_termios::tcinit): Fix formatting.
(fhandler_termios::line_edit): Return bytes actually written. Write
in 32 byte chunks in non-canonical mode to reduce number of WriteFile
calls. Don't just eat unwritten bytes in case of an error condition.
Especially, don't report them back to the caller as written.
* fhandler_tty.cc (fhandler_pty_slave::read): Disable code reducing
the number of bytes read from the pipe to vmin. Add comment.
(fhandler_pty_master::write): Convert ret to ssize_t type. Just call
line_edit once, not in a loop once for each byte. Return bytes written
as returned by line_edit.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 62f4dcd12..0b7236729 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,20 @@ 2014-11-13 Corinna Vinschen <corinna@vinschen.de> + * fhandler.h (fhandler_termios::line_edit): Add parameter to return + written bytes. + * fhandler_termios.cc (fhandler_termios::tcinit): Fix formatting. + (fhandler_termios::line_edit): Return bytes actually written. Write + in 32 byte chunks in non-canonical mode to reduce number of WriteFile + calls. Don't just eat unwritten bytes in case of an error condition. + Especially, don't report them back to the caller as written. + * fhandler_tty.cc (fhandler_pty_slave::read): Disable code reducing + the number of bytes read from the pipe to vmin. Add comment. + (fhandler_pty_master::write): Convert ret to ssize_t type. Just call + line_edit once, not in a loop once for each byte. Return bytes written + as returned by line_edit. + +2014-11-13 Corinna Vinschen <corinna@vinschen.de> + * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 34. 2014-11-12 Corinna Vinschen <corinna@vinschen.de> |