rxvt pops up console with 2001-Aug-07 shapshot

Christopher Faylor cgf@redhat.com
Sat Aug 25 10:28:00 GMT 2001

On Fri, Aug 24, 2001 at 08:23:38AM +0900, Kazuhiro Fujieda wrote:
>>>> On 24 Aug 2001 05:53:25 +0900
>>>> Kazuhiro Fujieda <fujieda@jaist.ac.jp> said:
>> I have another idea:
>> If the process has a pty slave, setsid() shouldn't call
>> FreeConsole() because it has a chance to execute Windows
>> application on the pty.
>> I will try it later.
>I've done.
>The following patch can solve the problem indicated by the subject.
>2001-08-24  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
>	* syscalls.cc (check_tty_fds): New function. Check whether there
>	is a fd referring to pty slave.
>	(setsid): Don't detach console if the process has a pty slave.

Looks good to me.  I've applied this patch.


More information about the Cygwin-patches mailing list