View Single Post
  #1 (permalink)  
Old November 26th, 2001
3vi1 3vi1 is offline
Disciple
 
Join Date: October 20th, 2001
Posts: 19
3vi1 is flying high
Default XoloX has almost no tolerance for power failures.

XoloX is constantly rewriting it's resume information file. So, if your power fails (as mine did last night), you end up with a truncated file. When you try to restart XoloX the results may be errors ("Invalid Host Entry") that cause it to hang on the splash, or it might even lose all of the partials you had queued (about 4GB, in my case).

The program should be changed so that it doesn't write directly to the working file. It should write the info to a temp file, then delete the original file and rename the temp. At startup, the program should check to see if only the temp file exists, and if so rename it at that point too - in case an outage happens just as the file is about to be renamed.

-J