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:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.389 2001/07/02 07:02:44 hubbe Exp $"); + RCSID("$Id: builtin_functions.c,v 1.390 2001/07/02 20:09:16 mast Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
3140:    if (SETJMP(tmp)) {    yywarning("Optimizer failure in replace().");    pop_n_elems(Pike_sp - save_sp); +  free_svalue(&throw_value); +  throw_value.type = T_INT;    } else {    extern struct program *multi_string_replace_program;    INT16 lfun;