URL: <http://gna.org/patch/?834>
Summary: Fix deletion of saved games Project: Warzone Resurrection Project Submitted by: buginator Submitted on: Thursday 11/08/2007 at 06:51 Category: Fix Priority: 7 - High Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Fixes bug #8880 We never really deleted the files IN the save game directory, and since we didn't do that, we could NOT delete the saved game directory itself. NOTE, I was unsure what warning level to put on this, since, at least on windows, there was a file that could NOT be deleted. I suspect a flush() would help, but we didn't get passed a handle. The line: if(saveGameName[9]=='(') return; was needed, since we don't want to pass savegame/(null).gam to the routines below it, since they will error out. The (null) is put there by the widget routines. my error log looks like: error : Warning [savegame/zzzkill/visstate.bjo] could not be deleted because The process cannot access the file because it is being used by another process. error : Warning directory[savegame/zzzkill] could not be deleted because Access is denied. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thursday 11/08/2007 at 06:51 Name: deletegamefix.diff Size: 1kB By: buginator <http://gna.org/patch/download.php?file_id=3155> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?834> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev