Re: [PATCH] Cygwin: pty: Use pinfo() rather than kill() with signal 0.

2020-02-06 Thread Corinna Vinschen
On Feb 6 19:48, Takashi Yano wrote: > - PTY code has a problem that tcsh is terminated if the following > command is executed. > true; chcp & > This seems to be caused by invalid pointer access which occurs > when the process exits during the kill() code is execuetd. This > patch avoid

[PATCH] Cygwin: pty: Use pinfo() rather than kill() with signal 0.

2020-02-06 Thread Takashi Yano
- PTY code has a problem that tcsh is terminated if the following command is executed. true; chcp & This seems to be caused by invalid pointer access which occurs when the process exits during the kill() code is execuetd. This patch avoids the issue by not using kill(). --- winsup/cygw