* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Set "don't need

ready for read" flag.
(fhandler_tty_slave::read): Don't do anything special with vtime when vmin ==
0.
This commit is contained in:
Christopher Faylor 2002-08-31 03:41:43 +00:00
parent 7a1174dcf2
commit af598a3b09
2 changed files with 5 additions and 2 deletions

View File

@ -3,8 +3,10 @@
(inspired by a patch from Egor Duda)
* select.cc (fhandler_tty_slave::ready_for_read): Remove.
* fhandler.h (fhandler_tty_slave::ready_for_read): Remove declaration.
* fhandler_tty.cc (fhandler_tty_slave::read): Don't do anything special
with vtime when vmin == 0.
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Set "don't
need ready for read" flag.
(fhandler_tty_slave::read): Don't do anything special with vtime when
vmin == 0.
2002-07-25 Egor Duda <deo@logos-m.ru>

View File

@ -418,6 +418,7 @@ fhandler_tty_slave::fhandler_tty_slave (int num)
fhandler_tty_slave::fhandler_tty_slave ()
: fhandler_tty_common (FH_TTYS, 0)
{
set_r_no_interrupt (1);
}
/* FIXME: This function needs to close handles when it has