| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
| Date: | Wed, 12 Dec 2001 19:19:39 +0200 |
| From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
| Sender: | halo1 AT zahav DOT net DOT il |
| To: | tim DOT van DOT holder AT pandora DOT be |
| Message-Id: | <8011-Wed12Dec2001191939+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, laszlo DOT molnar AT eth DOT ericsson DOT se |
| In-reply-to: | <1008158169.27039.3.camel@bender.falconsoft.be> (message from Tim |
| Van Holder on 12 Dec 2001 12:56:09 +0100) | |
| Subject: | Re: A buffering problem? |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1011212130802 DOT 11568B AT is> <1008158169 DOT 27039 DOT 3 DOT camel AT bender DOT falconsoft DOT be> |
| 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: Tim Van Holder <tim DOT van DOT holder AT pandora DOT be> > Date: 12 Dec 2001 12:56:09 +0100 > > > More accurately, it was closing file handle used by stdprn, behind the > > back of the buffered stdio machinery. > > Actually, no: > > #ifdef MSDOS > /* > * There is no way we can refer to them from Perl so close them to > * save space. The other alternative would be to provide STDAUX and > * STDPRN filehandles. > */ > (void)fclose(stdaux); > (void)fclose(stdprn); > #endif > > It's our stdio cleanup hook that finds the (non-existent) stdprn entry > in the chain of FILEs first and closes it behind the back of the 'real' > file with fd 3. That's not what my records indicate. The problem we saw there was that a file handle was being closed as I wrote. Perhaps that's a different problem.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |