Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-09-08 23:35:41 +0400
committerChristopher Faylor <me@cgf.cx>2002-09-08 23:35:41 +0400
commit02fa38279fe2968b67c01651aa92f48b44164f3a (patch)
tree72fe69d5ea3011cc33f31a27ef6fbb3a54f07ec3 /winsup/cygwin/tty.cc
parentde3387b3042527997840bc330da5f6fe5ecd49db (diff)
* 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/tty.cc')
-rw-r--r--winsup/cygwin/tty.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/tty.cc b/winsup/cygwin/tty.cc
index 360fa2ef5..b564d6620 100644
--- a/winsup/cygwin/tty.cc
+++ b/winsup/cygwin/tty.cc
@@ -367,14 +367,14 @@ tty::make_pipes (fhandler_pty_master *ptym)
return FALSE;
}
- ProtectHandle1INH (to_slave, to_pty);
+ // ProtectHandle1INH (to_slave, to_pty);
if (CreatePipe (&from_slave, &to_master, &sec_all, 0) == FALSE)
{
termios_printf ("can't create output pipe");
set_errno (ENOENT);
return FALSE;
}
- ProtectHandle1INH (from_slave, from_pty);
+ // ProtectHandle1INH (from_slave, from_pty);
termios_printf ("tty%d from_slave %p, to_slave %p", ntty, from_slave,
to_slave);