This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: console popping up unnecessarily in xterm (cygwin 1.3.3)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]