Branch: Tag:

1998-02-01

1998-02-01 02:08:25 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

Many patches for NT...

Rev: NT/tools/cp:1.3
Rev: NT/tools/install:1.3
Rev: NT/tools/lib:1.12
Rev: NT/tools/mkdir:1.3
Rev: NT/tools/rntcc:1.10
Rev: NT/tools/sprsh:1.2
Rev: NT/tools/sprshd:1.6
Rev: src/builtin_functions.c:1.66
Rev: src/error.c:1.12
Rev: src/error.h:1.12
Rev: src/fdlib.c:1.11
Rev: src/fdlib.h:1.8
Rev: src/interpret.c:1.65
Rev: src/modules/files/file.c:1.73
Rev: src/modules/files/socket.c:1.28
Rev: src/pike_memory.c:1.12
Rev: src/program.h:1.31
Rev: src/signal_handler.c:1.28

82:   void exit_on_error(void *msg);   void fatal_on_error(void *msg);   void error(char *fmt,...) ATTRIBUTE((noreturn,format (printf, 1, 2))); - void fatal(char *fmt, ...) ATTRIBUTE((noreturn,format (printf, 1, 2))); + void debug_fatal(char *fmt, ...) ATTRIBUTE((noreturn,format (printf, 1, 2)));   /* Prototypes end here */    -  + #define fatal \ +  fprintf(stderr,"Fatal error at %s:%d\n",__FILE__,__LINE__),debug_fatal +    #endif