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: rxvt pops up console with 2001-Aug-07 shapshot


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.

cgf


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