This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: console popping up unnecessarily in xterm (cygwin 1.3.3)
- To: cygwin-patches at cygwin dot com
- Subject: Re: console popping up unnecessarily in xterm (cygwin 1.3.3)
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Sun, 14 Oct 2001 00:15:45 -0400
- References: <Liam.1001728633.534708.15417.245609177@mergioo> <s1sn136np5r.fsf@jaist.ac.jp> <s1s4rpd9ard.fsf@jaist.ac.jp> <20011005150433.A3171@redhat.com>
- Reply-To: cygwin-patches at cygwin dot com
On Fri, Oct 05, 2001 at 03:04:33PM -0400, Christopher Faylor wrote:
>On Sat, Oct 06, 2001 at 03:56:06AM +0900, Kazuhiro Fujieda wrote:
>>>>> On 05 Oct 2001 23:21:20 +0900
>>>>> Kazuhiro Fujieda <fujieda@jaist.ac.jp> said:
>>
>>> The same logic should also solve it on xterm. I guess another
>>> bug disturbs it. As you may know, Cygwin DLL 1.3.3 has a bug
>>> related to the inheritance of file descriptors in fork. It is
>>> fixed in the recent development snapshots.
>>
>>I'm sorry. I found the logic was insufficient to solve the
>>problem on xterm. The following patch should solve it.
>>I feel these changes are cheap tricks. I'll make a radical
>>cure in the near future.
>
>Hmm. I'm not sure that I understand the logic here. I understand why
>this would cure the problem with xterm since it uses a pty, but you're
>now saying that if a process is using ptys it should not free its
>console. That seems sort of arbitrary.
>
>I know that you know this. I'm just stating it "out loud".
>
>Of course, having said it out loud, I have no idea how to fix this any
>other way, either.
>
>I'll probably end up checking this in but I'd like to think about it a
>little first. Please bug me in a couple of days if it seems like I've
>forgotten about it.
As expected, I couldn't come up with a "better" way of dealing with
this problem so I've checked in Kazuhiro's patch.
Thanks, as always, Kazuhiro.
cgf