mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-08 18:19:08 +08:00
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.
This commit is contained in:
parent
f9aba438ad
commit
5383161b14
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user