CVSROOT: /cvs/src Module name: src Changes by: [EMAIL PROTECTED] 2003-09-18 18:54:48
Modified files: winsup/cygwin : ChangeLog fhandler_tty.cc termios.cc Log message: * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Handle buf == NULL as flushing the buffer. (fhandler_tty_slave::read): Handle ptr == NULL as flushing the buffer. (fhandler_tty_slave::tcflush): Implement input queue flushing by calling read with NULL buffer. (fhandler_pty_master::tcflush): Ditto, calling process_slave_output. * termios.cc (tcflush): Check for legal `queue' value. Return EINVAL otherwise. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2080&r2=1.2081 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=src&r1=1.105&r2=1.106 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/termios.cc.diff?cvsroot=src&r1=1.23&r2=1.24