www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/13/09:44:18

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Thu, 13 Dec 2001 09:43:56 -0500
Message-Id: <200112131443.fBDEhu006143@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
CC: sandmann AT clio DOT rice DOT edu, djgpp-workers AT delorie DOT com,
tim DOT van DOT holder AT pandora DOT be, laszlo DOT molnar AT eth DOT ericsson DOT se
In-reply-to: <8582-Thu13Dec2001101431+0200-eliz@is.elta.co.il>
Subject: Re: A buffering problem?
References: <10112121907 DOT AA18276 AT clio DOT rice DOT edu> <8582-Thu13Dec2001101431+0200-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Perhaps we should set a flag in the stdaux and stdprn static
descriptors that says "this is a standard handle, don't close the
handle".  We use that instead of the fd number when we walk the list
at exit.  We never set that flag in fopen.  That way, if we do inherit
fd 3 closed, it will get flushed.

- Raw text -


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