delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/11/14:55:20

From: arg AT whangomatic DOT freeserve DOT co DOT uk (Andrew R. Gillett)
Newsgroups: comp.os.msdos.djgpp
Subject: Log file and Win98 caching
Date: Fri, 11 Jun 1999 19:12:12 +0100
Organization: www.release-dates.co.uk
Lines: 11
Message-ID: <MPG.11cb5f6afcb523fb98ad70@news.freeserve.net>
NNTP-Posting-Host: modem-113.antimony.dialup.pol.co.uk
X-Trace: news5.svr.pol.co.uk 929124734 17800 62.136.25.113 (11 Jun 1999 18:12:14 GMT)
NNTP-Posting-Date: 11 Jun 1999 18:12:14 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: MicroPlanet Gravity v2.11
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I ran my game on a friend's PC to test it, and it crashed immediately - 
hanging the whole system. When this happens, it doesn't create a logfile 
as it normally does. I suspect this is probably due to write-behind 
caching in Win98 - is there any way I can make it so that it creates the 
file as soon as I call fopen, and writes to the file as soon as I call 
fprintf?

-- 
Andrew Gillett      http://argnet.fatal-design.com/     ICQ: See homepage
"You will be strung from a tree and your liver pecked out by ravens if you
 do not keep up payments." - Alexei Sayle

- Raw text -


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