4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-04 21:40:34 +08:00
Takashi Yano 90d3b16d2b Cygwin: pty: Fix failure to clear switch_to_nat_pipe flag.
After the commit fbfea31dd9b9, switch_to_nat_pipe is not cleared
properly when non-cygwin app is terminated in the case where the
pseudo console is disabled. This is because get_winpid_to_hand_over()
sometimes returns PID of cygwin process even though it should return
only PID of non-cygwin process. This patch fixes the issue by adding
a new argument which requests only PID of non-cygwin process to
get_console_process_id().

Fixes: fbfea31dd9b9 ("Cygwin: pty: Avoid cutting the branch the pty master is sitting on.")
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
2023-08-19 14:53:10 +09:00

7 lines
202 B
Groff

Bug Fixes
---------
- Fix a bug introduced in cygwin 3.4.0 that switch_to_nat_pipe flag is
not cleared properly when non-cygwin app is terminated in the case
where pseudo console is not activated.