]> granicus.if.org Git - nethack/commit
It was possible to terminate the win32 ports late in the user
authornethack.allison <nethack.allison>
Mon, 1 Jul 2002 12:28:14 +0000 (12:28 +0000)
committernethack.allison <nethack.allison>
Mon, 1 Jul 2002 12:28:14 +0000 (12:28 +0000)
commit47d32c6e4538fd3c3185ba78c1eb556e4a0c6982
treed83ec3e1777e4179d1994e32ba311af08c947f81
parenta8b7d559cb3663e1d69351995ca8fce66872fb72
It was possible to terminate the win32 ports late in the user
save process, after the save file had already been written by
forcing execution of an interrupt handler at one of the
termination prompts.  This resulted in "You were not healthy
enough to survive restoration" and worse.

This clears program_state.something_worth_saving immediately
after the save has been completed.
src/save.c