delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/17/16:03:00

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:from:to:subject:in-reply-to
:references:date; q=dns; s=default; b=QNM2N1Aq1ZO5nvoI/cL3jR8k77
d+LtSWmw0YnKVbRu/dIbk9ru2zpJ0u+Fpmy+Cf1vpSGn9+E6VvNFn0fJWrwCsPUg
KEjCIXRZ/7V+75JsltRaI4NwGlySM2Km5LvXtgcWm08vAQbTYP1XUFiWOGRQVTVY
9HkmBF2sm11YCbSVg=
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:from:to:subject:in-reply-to
:references:date; s=default; bh=JSnoEqCHxNfcgOXzc2f26768lns=; b=
eEcKOXlEtGm139AGwdYecNYsh9j3eFSj/1roQQ23PmfCjcTUKjV/Ayo3l2/2uV/C
q0xFvSnVnBS+iTIdoXnnYZLUlh8Q69ue7JhriMsNu9Lb8WqUNGT8ItEHkiY/PeRT
5u4Vw+Q2iqR+nIAvCL4snKWOTnnm/PPAbMp53Gu3VIs=
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=-0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: nm2-vm2.access.bullet.mail.gq1.yahoo.com
Message-ID: <660338.281.bm@smtp113.sbc.mail.ne1.yahoo.com>
X-Yahoo-SMTP: BDVluRmswBBpb4.UU1_zlPhs_ysfXcBVjBNXyWpyS_6pPgE-
X-Rocket-Received: from solabel10.tnolan.com (tednolan AT 74 DOT 243 DOT 198 DOT 131 with plain [98.138.84.52]) by smtp113.sbc.mail.ne1.yahoo.com with SMTP; 17 Jan 2014 21:02:42 +0000 UTC
From: tednolan AT bellsouth DOT net
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
In-reply-to: <52D98E1D.8010907@redhat.com>
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> <52D98E1D DOT 8010907 AT redhat DOT com>
Comments: In-reply-to Eric Blake <eblake AT redhat DOT com> message dated "Fri, 17 Jan 2014 13:10:05 -0700."
Date: Fri, 17 Jan 2014 15:37:39 -0500
X-IsSubscribed: yes

In message <52D98E1D DOT 8010907 AT redhat DOT com>you write:
>
>No.  You have to fix things _in the parent, before the fork()_ for
>everything to be hunky-dory.  The easiest way to do that is to
>fflush(NULL) before fork()ing.
>

You learn something new every day.

Usually just after you needed to know it.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019