pike.git / src / pike_error.h

version» Context lines:

pike.git/src/pike_error.h: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: pike_error.h,v 1.50 2008/10/06 17:00:00 mast Exp $ + || $Id: pike_error.h,v 1.51 2008/12/13 23:56:45 mast Exp $   */      #ifndef PIKE_ERROR_H   #define PIKE_ERROR_H      #ifdef CONFIGURE_TEST      #include <stdio.h>      static inline void Pike_fatal (const char *fmt, ...)
pike.git/src/pike_error.h:128:   PMOD_EXPORT extern const char msg_unsetjmp_nosync_2[];   #define UNSETJMP(X) do{ \    check_recovery_context(); \    OED_FPRINTF((stderr, "unsetjmp(%p) %s:%d\n", \    &(X), __FILE__, __LINE__)); \    if(Pike_interpreter.recoveries != &X) { \    if(Pike_interpreter.recoveries) \    Pike_fatal(msg_unsetjmp_nosync_1, \    Pike_interpreter.recoveries->file); \    else \ -  Pike_fatal(msg_unsetjmp_nosync_2); \ +  Pike_fatal("%s", msg_unsetjmp_nosync_2); \    } \    Pike_interpreter.recoveries=X.previous; \    check_recovery_context(); \    }while (0)      #ifdef DMALLOC_LOCATION   #define PERR_LOCATION() DMALLOC_LOCATION()   #else   #define PERR_LOCATION() ( __FILE__ ":" DEFINETOSTR(__LINE__) )   #endif
pike.git/src/pike_error.h:186:    &(X), __FILE__, __LINE__)); \    if(!Pike_interpreter.recoveries) break; \    if(Pike_interpreter.recoveries->onerror != &(X)) { \    fprintf(stderr,msg_last_setjmp, \    Pike_interpreter.recoveries->file); \    if (Pike_interpreter.recoveries->onerror) { \    Pike_fatal(msg_unset_onerr_nosync_1, \    Pike_interpreter.recoveries->onerror, &(X), \    Pike_interpreter.recoveries->onerror->file); \    } else { \ -  Pike_fatal(msg_unset_onerr_nosync_2); \ +  Pike_fatal("%s", msg_unset_onerr_nosync_2); \    } \    } \    Pike_interpreter.recoveries->onerror=(X).previous; \    } while(0)      PMOD_EXPORT extern const char msg_assert_onerr[];   #define ASSERT_ONERROR(X) \    do{ \    if (!Pike_interpreter.recoveries) break; \    if (Pike_interpreter.recoveries->onerror != &X) { \