pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:15:   #include "array.h"   #include "object.h"   #include "main.h"   #include "builtin_functions.h"   #include "backend.h"   #include "operators.h"   #include "module_support.h"   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.76 2001/09/24 14:29:42 grubba Exp $"); + RCSID("$Id: error.c,v 1.77 2001/09/28 00:02:50 hubbe Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)      /*    * Attempt to inhibit throwing of errors if possible.    * Used by exit_on_error() to avoid infinite sprintf() loops.    */   int Pike_inhibit_errors = 0;   
pike.git/src/error.c:274: Inside #if defined(PIKE_DEBUG)
   s=simple_free_buf();    fprintf(stderr,"%s\n",s);    free(s);    }   #endif    exit(1);   }      #ifdef __NT__   /* Wrapper around abort() to avoid interactive requesters on NT. */ + int fnordel=0;   static void do_abort()   {    if (!d_flag && !getenv("PIKE_DEBUG")) {    exit(-6); /* -SIGIOT */    } -  abort(); +  fnordel=999/fnordel;   }   #else /* !__NT__ */   #define do_abort() abort()   #endif /* __NT__ */      PMOD_EXPORT void fatal_on_error(void *msg)   {   #ifdef PIKE_DEBUG    dump_backlog();   #endif