program_state moved to g.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
static long final_fpos;
|
||||
#endif
|
||||
|
||||
#define done_stopprint program_state.stopprint
|
||||
#define done_stopprint g.program_state.stopprint
|
||||
|
||||
#define newttentry() (struct toptenentry *) alloc(sizeof (struct toptenentry))
|
||||
#define dealloc_ttentry(ttent) free((genericptr_t) (ttent))
|
||||
@@ -511,7 +511,7 @@ time_t when;
|
||||
* topten uses alloc() several times, which will lead to
|
||||
* problems if the panic was the result of an alloc() failure.
|
||||
*/
|
||||
if (program_state.panicking)
|
||||
if (g.program_state.panicking)
|
||||
return;
|
||||
|
||||
if (iflags.toptenwin) {
|
||||
@@ -519,7 +519,7 @@ time_t when;
|
||||
}
|
||||
|
||||
#if defined(UNIX) || defined(VMS) || defined(__EMX__)
|
||||
#define HUP if (!program_state.done_hup)
|
||||
#define HUP if (!g.program_state.done_hup)
|
||||
#else
|
||||
#define HUP
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user