CVSROOT: /cvs/src Module name: src Changes by: cori...@sourceware.org 2015-03-05 12:57:34
Modified files: winsup/cygwin : ChangeLog fhandler.h select.cc fhandler_tty.cc Added files: winsup/cygwin/release: 1.7.36 Log message: * fhandler.h (fhandler_base::get_echo_handle): New virtual method. (class fhandler_pty_master): Add echo_r and echo_w handles constituting read and write side of new echo pipe. * select.cc (peek_pipe): On pty masters, check additionally if input from the echo pipe is available. * fhandler_tty.cc (fhandler_pty_master::doecho): Drop output_mutex locking. Write output to echo pipe. (fhandler_pty_master::process_slave_output): Check if input is available in echo pipe and prefer to read from it, if so. (fhandler_pty_slave::write): Drop output_mutex locking. (fhandler_pty_master::fhandler_pty_master): Initialize echo pipe handles to NULL. (fhandler_pty_master::close): Close and NULL echo pipe handles. (fhandler_pty_master::setup): Create echo pipe, close in case of error. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6669&r2=1.6670 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.513&r2=1.514 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/select.cc.diff?cvsroot=src&r1=1.223&r2=1.224 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=src&r1=1.290&r2=1.291 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/release/1.7.36.diff?cvsroot=src&r1=NONE&r2=1.1