www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/13/02:57:06

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Thu, 13 Dec 2001 09:54:53 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: sandmann AT clio DOT rice DOT edu
Message-Id: <3995-Thu13Dec2001095453+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: 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: <10112121940.AA19849@clio.rice.edu> (sandmann@clio.rice.edu)
Subject: Re: A buffering problem?
References: <10112121940 DOT AA19849 AT clio DOT rice DOT edu>
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

> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
> Date: Wed, 12 Dec 2001 13:40:48 -0600 (CST)
> 
> This is a shot in the dark - but what if in frlist.c (intial file structure
> setup) we tested each file handle (with _get_dev_info?) before putting that 
> file structure in the initial list?

Will that work on W2K, given the problems with _get_dev_info there?

In any case, this will solve the case where a parent program closes
one of the standard streams, but not a more general problem with
closing a file handle that belongs to a FILE object.

But if it's safe for W2K, then it might be worthwhile to put this into
the 2.03 refresh.

- Raw text -


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