* fhandler_tty.cc (fhandler_tty_slave::open): Don't protect input/output

handles since they are not properly manipulated later.
* tty.cc (tty::make_pipes): Ditto.
This commit is contained in:
Christopher Faylor
2002-09-08 19:35:41 +00:00
parent de3387b304
commit 02fa38279f
3 changed files with 8 additions and 4 deletions

View File

@ -532,9 +532,7 @@ fhandler_tty_slave::open (path_conv *, int flags, mode_t)
get_ttyp ()->to_master, to_master_local);
set_io_handle (from_master_local);
ProtectHandle1INH (from_master_local, from_pty);
set_output_handle (to_master_local);
ProtectHandle1INH (to_master_local, to_pty);
set_open_status ();
termios_printf ("tty%d opened", ttynum);