pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:12:   #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"    - RCSID("$Id: error.c,v 1.33 1999/04/15 19:12:49 hubbe Exp $"); + RCSID("$Id: error.c,v 1.34 1999/04/17 13:47:16 grubba Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)      JMP_BUF *recoveries=0;      #ifdef PIKE_DEBUG   void check_recovery_context(void)   {    char foo;
pike.git/src/error.c:472:    char *resource_type,    long howmuch,    char *desc, ...) ATTRIBUTE((noreturn,format (printf, 6, 7)))   {    INIT_ERROR(resource);    ERROR_COPY(resource,howmuch);    ERROR_STRUCT(resource,o)->resource_type=make_shared_string(resource_type);    ERROR_DONE(generic);   }    + void permission_error( +  char *func, +  struct svalue *base_sp, int args, +  char *permission_type, +  char *desc, ...) ATTRIBUTE((noreturn, format(printf, 2, 3))) + { +  INIT_ERROR(permission); +  ERROR_STRUCT(permission,o)->permission_type= +  make_shared_string(permission_type); +  ERROR_DONE(generic); + } +    void init_error(void)   {   #define ERR_SETUP   #include "errors.h"   }      void cleanup_error(void)   {   #define ERR_CLEANUP   #include "errors.h"   }   #endif