]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pty, termios: Unify thoughts of read ahead beffer handling.
authorTakashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>
Tue, 30 Jun 2020 11:12:50 +0000 (20:12 +0900)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 1 Jul 2020 07:25:54 +0000 (09:25 +0200)
commitc11b0343c069c6d69b3bdf329bcaeb550a18d9e9
tree5ddfccabe9123ba22deae26bda93d6906f07aeac
parent8121b606e843c001d5ca5213d24099e04ebc62ca
Cygwin: pty, termios: Unify thoughts of read ahead beffer handling.

- 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
winsup/cygwin/fhandler_tty.cc
This page took 0.029949 seconds and 5 git commands to generate.