[RFC] Fix expect leaky pipes

Dave Korn dave.korn@artimi.com
Sun May 28 23:51:00 GMT 2006


On 29 May 2006 00:44, Christopher Faylor wrote:

> On Mon, May 29, 2006 at 12:00:05AM +0100, Dave Korn wrote:
>>  While I was at it, I restored the bit that cgf #if-0'd out a while ago; it
>> seems not to be causing any noticeable problems so far.  Chris, can you
>> enlighten me a bit about what was going wrong there?
> 
> I assume you're talking about the comment with a CGF on it.  I don't
> recall what that was about.
> 
> However, the changelog entry says:
> 
> * fhandler_tty.cc (fhandler_tty_slave::dup): Don't assign a controlling
> terminal to a process when duped.  Linux doesn't do this, so we won't
> either. 
> 
> So, I assume that my research was correct.
> 
> cgf

  Ah.  I think the comment may not be correct, although the behaviour obviously enough is what we want if that's what Linux does.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Cygwin-developers mailing list