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]

[PATCH] to_slave pipe is full fix


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.


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