Author: Stuart Cracraft
Date: 08:35:45 06/14/98
Go up one level in this thread
On June 13, 1998 at 21:55:27, Robert Hyatt wrote: > >should you not OR in O_APPEND with the O_WRONLY flag, so that you only >add to the end? > Done. > >Also, I'd stop opening and closing the learn file multiple times. Open >it, seek to the end, write a position, seek to the beginning and store >them >in the real hash table when you want... Also done. and the problem still recurs. I get a stray byte every so often which throws off the entire position file and renders it useless. Back to the drawing board. I can't believe that a series of fseek/fwrite's or lseek/write's on an open file (and a closed one) can produce odd byte writing on the PC.
This page took 0.01 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.