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
path: root/winsup
diff options
context:
space:
mode:
authorTakashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>2020-07-18 07:48:47 +0300
committerCorinna Vinschen <corinna@vinschen.de>2020-07-20 11:06:37 +0300
commite0a53d66256ba720fa3ad9f4eaef94da1df11463 (patch)
treee5e20eadc9e89d27c5975f599770dd06657d03cd /winsup
parent2aa3eb750332096ccc590d777176f4a686b71faf (diff)
Cygwin: pty: Fix a bug on redirecting something to /dev/pty*.
- After commit 0365031ce1347600d854a23f30f1355745a1765c, key input becomes not working by following steps. 1) Start cmd.exe in mintty. 2) Open another mintty. 3) Execute "echo AAA > /dev/pty*" (pty* is the pty opened in 1.) This patch fixes the issue.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/fhandler_tty.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index a61167116..6a004f3a5 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -969,11 +969,6 @@ fhandler_pty_slave::open (int flags, mode_t)
init_console_handler (true);
}
- isHybrid = false;
- get_ttyp ()->pcon_pid = 0;
- get_ttyp ()->switch_to_pcon_in = false;
- get_ttyp ()->switch_to_pcon_out = false;
-
set_open_status ();
return 1;