Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 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