Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Date: Sat, 4 Dec 1999 21:19:29 -0500 From: Chris Faylor To: Mumit Khan Cc: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: (patch) winsup noncygwin mess cleanup Message-ID: <19991204211929.A10029@cygnus.com> Mail-Followup-To: Mumit Khan , cygwin-developers AT sourceware DOT cygnus DOT com References: <19991204210812 DOT A9926 AT cygnus DOT com> <199912050214 DOT UAA01237 AT mercury DOT xraylith DOT wisc DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199912050214.UAA01237@mercury.xraylith.wisc.edu>; from khan@nanotech.wisc.edu on Sat, Dec 04, 1999 at 08:14:59PM -0600 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