CVSROOT:        /cvs/src
Module name:    src
Changes by:     cori...@sourceware.org  2014-11-13 18:37:15

Modified files:
        winsup/cygwin  : ChangeLog fhandler.h fhandler_termios.cc 
                         fhandler_tty.cc 

Log message:
        * 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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6569&r2=1.6570
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.509&r2=1.510
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=src&r1=1.107&r2=1.108
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=src&r1=1.288&r2=1.289

Reply via email to