X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+zBGtd1VNEV+JtN5nlt4hk Date: Sat, 9 Mar 2013 16:55:49 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: exit bug on 1.7.17 ? Message-ID: <20130309215549.GA7961@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5138CB54 DOT 8040805 AT dunslane DOT net> <5138D38D DOT 9080905 AT gmail DOT com> <20130308213916 DOT GA2813 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130308213916.GA2813@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Fri, Mar 08, 2013 at 04:39:16PM -0500, Christopher Faylor wrote: >On Thu, Mar 07, 2013 at 06:51:09PM +0100, marco atzeri wrote: >>pg_ctl is broken because it hangs waiting for a child process to finish. >>This can be seen with the following test program: >> >> #include >> #include >> >> main() >> { >> system("sleep 5 && echo waking&"); >> printf("done\n"); >> exit(0); >> } > >I'm testing a fix for this now. > >Thanks for the test case. The next snapshot should fix this problem. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple