Branch: Tag:

2002-03-10

2002-03-10 02:11:15 by Martin Stjernholm <mast@lysator.liu.se>

Use master_object instead of get_master() in debug_fatal, so that we
don't start loading the master from here if it's not in business
already.

Rev: src/error.c:1.83

22:   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.82 2002/01/16 02:54:11 nilsson Exp $"); + RCSID("$Id: error.c,v 1.83 2002/03/10 02:11:15 mast Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)
371:    (void)VFPRINTF(stderr, fmt, args);       d_flag=t_flag=0; -  if(Pike_sp && Pike_interpreter.evaluator_stack && get_master()) +  if(Pike_sp && Pike_interpreter.evaluator_stack && +  master_object && master_object->prog)    {    fprintf(stderr,"Attempting to dump backlog (may fail)...\n");    push_error("Backtrace at time of fatal:\n");