This is the mail archive of the cygwin-developers@sourceware.cygnus.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: (patch) winsup noncygwin mess cleanup


On Sat, Dec 04, 1999 at 08:14:59PM -0600, Mumit Khan wrote:
>Note that I haven't been able to track down one particular problem
>in fd inheritance, ever after spending way too much time on it. If
>I don't prevent fd inheritance in de_linearize_fd, it'll crash in
>build_fhandler.

That's right.  There is no way to inherit fds in a non-cygwin app since
the fds are passed via a "reserved" block in CreateProcess.  I've been
contemplating changing that.

From what I see in your patch, I think you've done the only thing that
makes sense.

cgf

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