hangup revisited (trunk only)

More SAFER_HANGUP tweaking.  Delay its kicking in until main command
loop has been reached, and shut if off again once program is terminating.
This commit is contained in:
nethack.rankin
2007-03-01 03:33:12 +00:00
parent a6b8d773de
commit c5450cbe5e
5 changed files with 8 additions and 7 deletions

View File

@@ -152,9 +152,8 @@ E NEARDATA struct sinfo {
#endif
int something_worth_saving; /* in case of panic */
int panicking; /* `panic' is in progress */
#if defined(VMS) || defined(WIN32)
int exiting; /* an exit handler is executing */
#endif
int in_moveloop;
int in_impossible;
#ifdef PANICLOG
int in_paniclog;