X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Date: Sun, 11 Apr 2010 21:11:34 -0400 From: tmhikaru AT gmail DOT com To: cygwin AT cygwin DOT com Subject: Re: Usage of _exit(0) closes fd's of parent process Message-ID: <20100412011133.GA6387@roll> References: <20100411054851 DOT GA25578 AT roll> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20100411054851.GA25578@roll> User-Agent: Mutt/1.4.2.3i 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 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Thank you, those of you who have pointed out that _exit() is not supposed to be doing what I think it is. I will therefore assume this is either not a bug in my program or otherwise that it is complex enough that I can't figure it out myself. In either case, I'll be following the bug reporting guidelines and will post a small test case program along with it that demonstrates the problem either tonight or tomorrow, depending on how difficult it is for me to complete properly. Thank you, Hikaru --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQEVAwUBS8JzRZEncCrqzVruAQIEegf/fO/KX/A7pneht/4ENMCW+/u9rvUYzyzx iavNDUl+BddUgcSw/TPhBvPaAOjM9qyfAido1Bux6l9JAWiugNKcsA7AvqCyg3Cg vNbFmPt4N0suxsk0t2XT18pxAnu8+D5PTc/SdApnHvAe74yhThTwGSipNzZ/wofv HynWmY8He/0R6EgBK6dcy6EyEr7uP7BpLMGzyiGNkLuSOj3E7T1Tb3kLk72TmwJo iu8TiMxWSF3yXSnogANxX9GUYvuP2+t8ItydcK68PSQtPus0c+ZuiR/n1ENHoooO MqJKaIbZnKuzRemhPMFamgr/rcMB0FDMPnaQ3kt35wZGNacGjjdqrg== =VfMB -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--