Branch: Tag:

2001-07-02

2001-07-02 20:09:18 by Martin Stjernholm <mast@lysator.liu.se>

Take more care to avoid leaving throw_svalue around with a backtrace.

Rev: src/builtin_functions.c:1.390
Rev: src/cpp.c:1.90
Rev: src/interpret.c:1.212
Rev: src/interpret.h:1.91
Rev: src/language.yacc:1.255
Rev: src/las.c:1.255
Rev: src/mapping.c:1.129
Rev: src/modules/Java/jvm.c:1.34
Rev: src/object.c:1.176
Rev: src/pike_error.h:1.12
Rev: src/preprocessor.h:1.43
Rev: src/svalue.c:1.110

5:   \*/      /* -  * $Id: interpret.h,v 1.90 2001/06/29 23:33:30 hubbe Exp $ +  * $Id: interpret.h,v 1.91 2001/07/02 20:09:17 mast Exp $    */   #ifndef INTERPRET_H   #define INTERPRET_H
266:    fun_=find_identifier(FUN,master_ob->prog); \    master_cnt = master_ob->prog->id; \    } \ -  safe_apply_low(master_ob, fun_, ARGS); \ +  safe_apply_low2(master_ob, fun_, ARGS, 1); \   }while(0)      #define SAFE_APPLY_HANDLER(FUN, HANDLER, COMPAT, ARGS) do { \
332:   PMOD_EXPORT void call_handle_error(void);   PMOD_EXPORT int apply_low_safe_and_stupid(struct object *o, INT32 offset);   PMOD_EXPORT void safe_apply_low(struct object *o,int fun,int args); + PMOD_EXPORT void safe_apply_low2(struct object *o,int fun,int args, int handle_errors);   PMOD_EXPORT void safe_apply(struct object *o, char *fun ,INT32 args);   PMOD_EXPORT void safe_apply_handler(const char *fun,    struct object *handler,