OSDN Git Service

* fhandler.cc (fhandler_base::get_readahead_into_buffer): New function.
authorcgf <cgf>
Sun, 12 Mar 2000 06:29:54 +0000 (06:29 +0000)
committercgf <cgf>
Sun, 12 Mar 2000 06:29:54 +0000 (06:29 +0000)
commite7c47ca2f90070445bdf5f8d26922b92d4b8ebab
tree094de46fcace6e3243bf253cb3e8587941497c23
parentfe1af3f5da31e53b41afe1af762fcc578fd32d63
* fhandler.cc (fhandler_base::get_readahead_into_buffer): New function.
* fhandler.h: Declare new function.  Add extra argument to
process_slave_output.
* fhandler_console.cc (fhandler_console::read): Move read ahead code to new
function.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Move common code
here.
(fhandler_tty_slave::read): Understand readahead.
(fhandler_pty_master::read): Move code to process_slave_output.
* select.cc (peek_pipe): Avoid performing certain checks when non-read and on
inappropriate fh types.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_console.cc
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/select.cc
winsup/cygwin/tty.cc