Branch: Tag:

2000-11-20

2000-11-20 01:20:26 by Martin Stjernholm <mast@lysator.liu.se>

Reserve some stack room to give handle_error a fighting chance to report
out-of-stack errors without getting them itself.

Rev: src/backend.c:1.60
Rev: src/interpret.c:1.173
Rev: src/interpret.h:1.68
Rev: src/las.c:1.222
Rev: src/main.c:1.107
Rev: src/program.c:1.282
Rev: src/threads.c:1.145

1:   #include "global.h" - RCSID("$Id: threads.c,v 1.144 2000/11/06 19:29:17 mast Exp $"); + RCSID("$Id: threads.c,v 1.145 2000/11/20 01:20:26 mast Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;
621:    if(SETJMP(back))    {    if(throw_severity < THROW_EXIT) -  { -  ONERROR tmp; -  t_flag=0; -  SET_ONERROR(tmp,exit_on_error,"Error in handle_error in master object!"); -  assign_svalue_no_free(Pike_sp++, & throw_value); -  APPLY_MASTER("handle_error", 1); -  pop_stack(); -  UNSET_ONERROR(tmp); -  } +  call_handle_error();    if(throw_severity == THROW_EXIT)    {    free((char *) data);