www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/09/15/09:50:42

From: cgf AT cygnus DOT com (Christopher Faylor)
Subject: Re: The latest winsup snapshot.
15 Sep 1998 09:50:42 -0700 :
Message-ID: <19980915123159.A116.cygnus.cygwin32.developers@cygnus.com>
References: <01BDE0E6 DOT 93ED1510 AT sos>
Mime-Version: 1.0
To: Sergey Okhapkin <sos AT prospect DOT com DOT ru>,
"'cygwin32-developers AT cygnus DOT com'" <cygwin32-developers AT cygnus DOT com>

On Tue, Sep 15, 1998 at 08:22:35PM +0400, Sergey Okhapkin wrote:
>Christopher Faylor wrote:
>> On Tue, Sep 15, 1998 at 06:17:04PM +0400, Sergey Okhapkin wrote:
>> >Christopher Faylor wrote:
>> >> >3. I can't run configure in cdk :-(
>> >> 
>> >> Well I can!  :-)
>> >> 
>> >
>> >I can now too :-) After disabling tty support...
>> 
>> Thanks.  That's what I needed.  I'll look into it.
>> 
>
>--- /winsup/fhandler_tty.cc     Fri Sep 11 05:21:43 1998
>+++ fhandler_tty.cc     Tue Sep 15 19:17:03 1998
>@@ -854,6 +854,7 @@ fhandler_tty_common::dup (fhandler_base
>   fhandler_tty_slave *fts = (fhandler_tty_slave *) child;
>   fts->ttynum = ttynum;
>   fts->ttyp = ttyp;
>+  fts->set_close_on_exec_flag (0);
>   return 0;
> }

Well, that was easy.

Thank you very much.  FYI, I've put this into the sources in dup2 rather
than in the lower level dups so that it will be assured of always
happening.  Currently no one calls the dup methods but dup2.

Are you using ash as your shell, btw?  I still don't know why I haven't
seen this.  I run configure with CYGWIN32=tty all of the time.

Thanks again,
Chris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019