delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type; q=dns; s=default; b=vn3gR5 | |
i5+EMDMV1VuGRwPXScGs1Y847cZnNO24eeaNaIppFbEISPZvin3wQz0kG2cWWb/8 | |
P5qkpEJNk3uHEOHrJLHwie2zoQjftTV8zVrU40poh20ehVhWP6k8RBaq9+nrPwYo | |
nxAzHHb8miHOU++IsOwnKzwbm7jYYUpp7fvOg= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type; s=default; bh=WzxFbbkLbHnV | |
n3IFyOoGt5tVCOQ=; b=IQyo3OoD0JQhLZvmf+fGCgXJwT4p19qvz9wlB4XzygdK | |
KuBjxalqCBgT/e7nKzphLkeV1NhFQMQtrD9N3Nc0e9xJ/e37rg5ZduLl3txZrEBo | |
C9rM+Iwy7ipk8KoNx7N4BsVRpyxkeoxnEaQ/L80QHxxq5FlFMK/zHXbxU/6rgLU= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mx1.redhat.com |
Message-ID: | <52D98E70.4030801@redhat.com> |
Date: | Fri, 17 Jan 2014 13:11:28 -0700 |
From: | Eric Blake <eblake AT redhat DOT com> |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: fork() + file descriptor bug in 1.7.27(0.271/5/3) 2013-12-09 11:54 |
References: | <831845 DOT 98759 DOT bm AT smtp116 DOT sbc DOT mail DOT ne1 DOT yahoo DOT com> <52D55D96 DOT 8070407 AT redhat DOT com> <946338 DOT 89157 DOT bm AT smtp116 DOT sbc DOT mail DOT ne1 DOT yahoo DOT com> <CAG9p0OR8JYgC1rzBCn1bvXe5ffpJS3vpmnnxw-7brJi8E8+uhQ AT mail DOT gmail DOT com> |
In-Reply-To: | <CAG9p0OR8JYgC1rzBCn1bvXe5ffpJS3vpmnnxw-7brJi8E8+uhQ@mail.gmail.com> |
OpenPGP: | url=http://people.redhat.com/eblake/eblake.gpg |
X-IsSubscribed: | yes |
--S1SO3p5WL1io7kXHBNk4M5M66A6rjkVCv Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/14/2014 09:53 PM, Lord Laraby wrote: > My two cents say, since the child is not referencing 'fp' at all, > there is no violation of the POSIX semantics in this situation. But the child _IS_ referencing 'fp', via the implicit fflush(NULL) done by exit(). If you use _exit() to bypass that implicit fflush, things are a lot nicer. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --S1SO3p5WL1io7kXHBNk4M5M66A6rjkVCv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJS2Y5wAAoJEKeha0olJ0NqduUIAKfHy6KUZkSzUmdFWco5OIBi t1FzbJfNPHc/IIwuylTvaVsCm8CFHuaZGwyVDXxT8MGTUrbnYsvtFiaT1ZJfUMFI CQ1IBiLGkCcsRUjHK4nlk8N1mIIeIC3gLyJqAsTsQAQkmId3w+dbxIsg6lD+AY6m IyTkcF1o5NywePqGIkFj86KRrEXFpvL6EqPF+30F6SUG+aSCmgAfEsDuiGPX1IXm 98Oclg+YGjj5m/YFwzAIj+NO96cuWNxgJ/ng+B++Nz3+5GHxnZE3JKg1XF8zh+sR 4R6ZbK6zDphwZBZr81/lvJKpPZUurVF/+6KgrqerlXHwhfzToWdNLU4SVz1TtL8= =Udrk -----END PGP SIGNATURE----- --S1SO3p5WL1io7kXHBNk4M5M66A6rjkVCv--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |