Branch: Tag:

2002-03-26

2002-03-26 19:38:26 by Martin Stjernholm <mast@lysator.liu.se>

Don't signal a fatal in fatal_on_error if the throw severity is
THROW_EXIT, since those get past normal SETJMP's.

Rev: src/error.c:1.84

22:   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.83 2002/03/10 02:11:15 mast Exp $"); + RCSID("$Id: error.c,v 1.84 2002/03/26 19:38:26 mast Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)
329:      PMOD_EXPORT void fatal_on_error(const void *msg)   { +  /* It's ok if we're exiting. */ +  if (throw_severity == THROW_EXIT) return; +    #ifdef PIKE_DEBUG    dump_backlog();   #endif