[PATCH] to_slave pipe is full fix

Corinna Vinschen cygwin-patches@cygwin.com
Mon Dec 16 08:01:00 GMT 2002

Hi Steve,

On Sun, Dec 15, 2002 at 02:43:14PM -0600, Steve O wrote:
> Hi,
> Here is the next tty patch.  The previous patches have provided
> the ground work for accept_input () to fail.  This patch makes accept_input
> fail if the slave tty pipe is full.  In the current cygwin code this
> will only get called in rather extreme situations. 
> Thanks,
> -steve
> ChangeLog:
> 2002-12-15  Steve Osborn  <bub@io.com>
> 	* fhandler_termios.cc (fhandler_termios::line_edit): Return 
> 	line_edit_error and remove last char from readahead buffer 
> 	if accept_input() fails.
> 	* fhandler_tty.cc (fhandler_pty_master::accept_input): Return 0 
> 	and restore readahead buffer when tty slave pipe is full.

did you perhaps forgot to attach the patch?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

More information about the Cygwin-patches mailing list