This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] to_slave pipe is full fix


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]