pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: error.c,v 1.129 2004/06/29 15:44:49 grubba Exp $ + || $Id: error.c,v 1.130 2004/06/29 16:52:16 grubba Exp $   */      #define NO_PIKE_SHORTHAND   #include "global.h"   #include "svalue.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "interpret.h"   #include "stralloc.h"   #include "builtin_functions.h"   #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.129 2004/06/29 15:44:49 grubba Exp $"); + RCSID("$Id: error.c,v 1.130 2004/06/29 16:52:16 grubba Exp $");      /* __attribute__ only applies to function declarations, not    definitions, so we disable them here. */   #undef ATTRIBUTE   #define ATTRIBUTE(X)      PMOD_EXPORT const char msg_fatal_error[] =    "%s:%d: Fatal error:\n";   #ifdef PIKE_DEBUG   PMOD_EXPORT const char msg_unsetjmp_nosync_1[] =
pike.git/src/error.c:443:       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 */ +  exit(-6); /* -SIGIOT */    }    fnordel=999/fnordel;   }   #else /* !__NT__ */   #define do_abort() abort()   #endif /* __NT__ */      PMOD_EXPORT void fatal_on_error(const void *msg)   {    /* It's ok if we're exiting. */