Re: [PATCH] Cygwin: pty: Fix the issue regarding open and close multiple PTYs.

2020-01-13 Thread Takashi Yano
Hi Corinna, On Mon, 13 Jan 2020 16:49:52 +0100 Corinna Vinschen wrote: > But then again, given that Cygwin uses EXTENDED_STARTUPINFO_PRESENT > anyway, wouldn't it makes sense to pass the required handles with > PROC_THREAD_ATTRIBUTE_HANDLE_LIST to avoid having to open the > parent with

Re: [PATCH] Cygwin: pty: Fix the issue regarding open and close multiple PTYs.

2020-01-13 Thread Corinna Vinschen
Hi Takashi, On Jan 1 15:47, Takashi Yano wrote: > - If two PTYs are opened in the same process and the first one > is closed, the helper process for the first PTY remains running. > This patch fixes the issue. > --- > [...] > diff --git a/winsup/utils/cygwin-console-helper.cc >

[PATCH] Cygwin: pty: Fix the issue regarding open and close multiple PTYs.

2019-12-31 Thread Takashi Yano
- If two PTYs are opened in the same process and the first one is closed, the helper process for the first PTY remains running. This patch fixes the issue. --- winsup/cygwin/fhandler_tty.cc | 8 winsup/utils/cygwin-console-helper.cc | 15 ++- 2 files changed, 18