[PATCH] Cygwin: pty, termios: Unify thoughts of read ahead beffer handling.
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Jul 1 07:27:59 GMT 2020
On Jun 30 20:12, Takashi Yano via Cygwin-patches wrote:
> - Return value of eat_readahead() is redefined. The return values
> of fhandler_termios::eat_readahead() and fhandler_pty_slave::
> eat_readahead() were little bit different. This patch unifies
> them to number of bytes eaten by eat_readahead().
> - Considerration for raixget() is added to fhandler_pty_master::
> accept_input() code.
> - Transfering contents of read ahead buffer in
> fhandler_pty_master::transfer_input_to_pcon() is removed since
> it is not necessary.
> - fhandler_pty_slave::eat_readahead() ckecks EOL only when ICANON
> is set.
> - Guard for _POSIX_VDISABLE is added in checking EOL.
> ---
> winsup/cygwin/fhandler_termios.cc | 20 ++++++++---------
> winsup/cygwin/fhandler_tty.cc | 37 +++++++++++++------------------
> 2 files changed, 26 insertions(+), 31 deletions(-)
Pushed.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
More information about the Cygwin-patches
mailing list