Cygwin: pty: Fix a bug on redirecting something to /dev/pty*.

- After commit 0365031ce1, 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:
Takashi Yano via Cygwin-patches 2020-07-18 13:48:47 +09:00 committed by Corinna Vinschen
parent 2aa3eb7503
commit e0a53d6625
1 changed files with 0 additions and 5 deletions

View File

@ -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;