diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2023-08-19 08:10:16 +0300 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2023-08-19 08:53:10 +0300 |
commit | 90d3b16d2b93d573501394d88538c99335edc343 (patch) | |
tree | 73de7d631cf06abc85ef5515faba5dbb433d2d9d /libgloss/Makefile.in | |
parent | 7ba103eb1a95703c7803e4ca48e6ba5c8e1f3d56 (diff) |
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>
Diffstat (limited to 'libgloss/Makefile.in')
0 files changed, 0 insertions, 0 deletions