Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Sat, 16 Jun 2001 13:11:24 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: Problem with fork/exec/setsid/fgets (was: cygwin_attach_handle_to_fd())
Message-ID: <20010616131124.A21666@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <3B0C35D4.5B3849D0@reversion.ca> <20010523192540.A15862@redhat.com> <3B0D265D.B4F896FF@reversion.ca> <20010524142606.D8694@redhat.com> <3B1CFFEC.19AD43A4@reversion.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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

