Branch: Tag:

1999-05-02

1999-05-02 08:13:05 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

more debug and fixed a memory leak in interpret.c

Rev: src/backend.c:1.41
Rev: src/backend.h:1.7
Rev: src/block_alloc.h:1.11
Rev: src/block_alloc_h.h:1.4
Rev: src/builtin_functions.c:1.168
Rev: src/callback.c:1.17
Rev: src/callback.h:1.8
Rev: src/configure.in:1.281
Rev: src/constants.c:1.18
Rev: src/dmalloc.h:1.11
Rev: src/error.c:1.35
Rev: src/error.h:1.36
Rev: src/gc.c:1.42
Rev: src/gc.h:1.22
Rev: src/interpret.c:1.122
Rev: src/interpret.h:1.31
Rev: src/interpreter.h:1.5
Rev: src/modules/call_out/call_out.c:1.27
Rev: src/modules/files/file.c:1.152
Rev: src/modules/system/system.c:1.70
Rev: src/pike_memory.c:1.37
Rev: src/program.c:1.123
Rev: src/signal_handler.c:1.129
Rev: src/stralloc.c:1.59
Rev: src/threads.c:1.93

19:   #include "module_support.h"   #include "threads.h"    - RCSID("$Id: error.c,v 1.34 1999/04/17 13:47:16 grubba Exp $"); + RCSID("$Id: error.c,v 1.35 1999/05/02 08:11:39 hubbe Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)
80:       while(fp != recoveries->fp)    { -  struct pike_frame *tmp=fp; +    #ifdef PIKE_DEBUG    if(!fp)    fatal("Popped out of stack frames.\n");   #endif -  fp = tmp->next; -  tmp->next=0; -  free_pike_frame(tmp); +  POP_PIKE_FRAME();    }       pop_n_elems(sp - evaluator_stack - recoveries->sp);
483:    char *func,    struct svalue *base_sp, int args,    char *permission_type, -  char *desc, ...) ATTRIBUTE((noreturn, format(printf, 2, 3))) +  char *desc, ...) ATTRIBUTE((noreturn, format(printf, 5, 6)))   {    INIT_ERROR(permission);    ERROR_STRUCT(permission,o)->permission_type=