Branch: Tag:

2001-03-28

2001-03-28 10:02:45 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

lots of PIKE_RUN_UNLOCKED stuff..

Rev: src/Makefile.in:1.253
Rev: src/backend.cmod:1.13
Rev: src/block_alloc.h:1.28
Rev: src/error.c:1.71
Rev: src/gc.c:1.148
Rev: src/global.h:1.60
Rev: src/main.c:1.119
Rev: src/mapping.c:1.119
Rev: src/modules/Image/encodings/xbm.c:1.14
Rev: src/modules/Parser/html.c:1.132
Rev: src/modules/spider/xml.c:1.39
Rev: src/pike_cpulib.c:1.1
Rev: src/pike_cpulib.h:1.6
Rev: src/pike_error.h:1.11
Rev: src/pike_memory.c:1.103
Rev: src/program.c:1.306
Rev: src/stralloc.c:1.118
Rev: src/svalue.h:1.84

5:   \*/      /* -  * $Id: pike_error.h,v 1.10 2001/03/07 12:15:27 grubba Exp $ +  * $Id: pike_error.h,v 1.11 2001/03/28 10:02:42 hubbe Exp $    */ - #ifndef ERROR_H - #define ERROR_H + #ifndef PIKE_ERROR_H + #define PIKE_ERROR_H      #include "machine.h"   
19:      #include <stdarg.h>    + #if 1 + #define fatal \ +  (fprintf(stderr,"%s:%d: Fatal error:\n",__FILE__,__LINE__),debug_fatal) + #else + /* This is useful when debugging assembler code sometimes... -Hubbe */ + #define fatal \ +  (fprintf(stderr,"%s: Fatal error:\n",__FILE__ ":" DEFINETOSTR(__LINE__) ),debug_fatal) + #endif +  + PMOD_EXPORT DECLSPEC(noreturn) void debug_fatal(const char *fmt, ...) ATTRIBUTE((noreturn,format (printf, 1, 2))); +  +    #include "svalue.h"      
229:   void cleanup_error(void);   /* Prototypes end here */    - #if 1 - #define fatal \ -  (fprintf(stderr,"%s:%d: Fatal error:\n",__FILE__,__LINE__),debug_fatal) - #else - /* This is useful when debugging assembler code sometimes... -Hubbe */ - #define fatal \ -  (fprintf(stderr,"%s: Fatal error:\n",__FILE__ ":" DEFINETOSTR(__LINE__) ),debug_fatal) - #endif -  +    /* Some useful error macros. */      
302:   #define ERR_EXT_DECLARE   #include "errors.h"    - #endif + #endif /* PIKE_ERROR_H */