more SAFERHANGUP

make "done_hup" volatile on platforms where this matters, since hangup()
now returns when it didn't used to.
This commit is contained in:
cohrs
2003-09-19 03:55:33 +00:00
parent 40b5b12673
commit d66bd647e6

View File

@@ -145,7 +145,7 @@ E NEARDATA struct sinfo {
int gameover; /* self explanatory? */ int gameover; /* self explanatory? */
int stopprint; /* inhibit further end of game disclosure */ int stopprint; /* inhibit further end of game disclosure */
#if defined(UNIX) || defined(VMS) || defined (__EMX__) || defined(WIN32) #if defined(UNIX) || defined(VMS) || defined (__EMX__) || defined(WIN32)
int done_hup; /* SIGHUP or moral equivalent received volatile int done_hup; /* SIGHUP or moral equivalent received
* -- no more screen output */ * -- no more screen output */
#endif #endif
int something_worth_saving; /* in case of panic */ int something_worth_saving; /* in case of panic */