delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/16/13:11:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 16 Jun 2001 13:11:24 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with fork/exec/setsid/fgets (was: cygwin_attach_handle_to_fd())
Message-ID: <20010616131124.A21666@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3B0C35D4 DOT 5B3849D0 AT reversion DOT ca> <20010523192540 DOT A15862 AT redhat DOT com> <3B0D265D DOT B4F896FF AT reversion DOT ca> <20010524142606 DOT D8694 AT redhat DOT com> <3B1CFFEC DOT 19AD43A4 AT reversion DOT ca>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <3B1CFFEC.19AD43A4@reversion.ca>; from craig@reversion.ca on Tue, Jun 05, 2001 at 09:51:08AM -0600

On Tue, Jun 05, 2001 at 09:51:08AM -0600, Craig Nelson wrote:
>I reduced my code to the smallest program possible with the same
>functionality.  here is the test case: A program which uses fork(),
>exec(), AND fgets() and setsid(), will hang after two children have
>been produced.

Thanks for the test case.  There were indeed a problems with
fork/exec/setsid/kill.  I've checked in a patch which, I hope,
will rectify all of them.  I've started a snapshot, so this new
version should be available today.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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