summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tty.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-09-08 19:35:41 +0000
committerChristopher Faylor <me@cgf.cx>2002-09-08 19:35:41 +0000
commit02fa38279fe2968b67c01651aa92f48b44164f3a (patch)
tree72fe69d5ea3011cc33f31a27ef6fbb3a54f07ec3 /winsup/cygwin/fhandler_tty.cc
parentde3387b3042527997840bc330da5f6fe5ecd49db (diff)
downloadcygnal-02fa38279fe2968b67c01651aa92f48b44164f3a.tar.gz
cygnal-02fa38279fe2968b67c01651aa92f48b44164f3a.tar.bz2
cygnal-02fa38279fe2968b67c01651aa92f48b44164f3a.zip
* 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.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r--winsup/cygwin/fhandler_tty.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index 8d368da48..f062b833b 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -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);