Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old April 24, 2010, 05:02   #31
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,725
Donated: $40
Pete Mack will become famous soon enough
@Derakon:
Tiburon's most important point still holds: without forcing a sync to disk after the write, it is risky to delete the old save file.
The right thing to do in panic save situations is to save an alternative save file, and not overwrite the original.
Additionally, exit events from the OS (rather than from the user) should be treated as panic saves.
In robust apps, on opening a file with a panic save, the app gives you the choice to attempt to recover the panic save. If it succeeds, the original is deleted.
Pete Mack is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Great" drops replaced by "good" drops in vaults: bug or feature? PowerWyrm Vanilla 14 February 27, 2010 16:54
Feature request: make "summon unique" do nothing when there are no uniques bron Vanilla 11 December 22, 2009 17:25
Feature request: change "Purification and Healing" prayer book. bron Vanilla 1 December 19, 2009 00:19
"repeat" Command just little bit "smarter" ClaytonAguiar Vanilla 8 June 17, 2009 16:01
Roguelike idea from "Lost Magic" DS game - Mr. @ teaches typing! ekolis Idle chatter 10 October 19, 2007 04:25


All times are GMT +1. The time now is 11:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.