delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/12/04/21:19:56

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <cgf AT cygnus DOT com>
To: Mumit Khan <khan AT nanotech DOT wisc DOT edu>
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 <khan AT nanotech DOT wisc DOT edu>,
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
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

- Raw text -


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