CVSROOT:        /cvs/uberbaum
Module name:    winsup
Changes by:     [email protected]     2012-04-05 02:54:51

Modified files:
        cygwin         : ChangeLog fhandler.h fhandler_tty.cc select.cc 

Log message:
        * fhandler.h (fhandler_pty_common::bytes_available): Declare new 
function.
        (fhandler_pty_master::flush_to_slave): Ditto.
        * fhandler_tty.cc (bytes_available): Define new function.
        (fhandler_pty_common::bytes_available): Ditto.
        (handler_pty_master::flush_to_slave): Ditto.
        (fhandler_pty_master::process_slave_output): Call flush_to_slave () 
here.  Use
        bytes_available () rather than PeekNamedPipe.  Cleanup sloppy logic.
        (fhandler_pty_slave::read): Use bytes_available () rather than 
PeekNamedPipe.
        (fhandler_pty_slave::ioctl): Ditto.
        (fhandler_pty_master::ioctl): Ditto.
        (fhandler_pty_master::cleanup): Remove ancient #if 0.
        * select.cc (peek_pipe): Call flush_to_slave whenever we're checking 
for a pty
        master.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5796&r2=1.5797
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.461&r2=1.462
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.258&r2=1.259
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/select.cc.diff?cvsroot=uberbaum&r1=1.193&r2=1.194

Reply via email to