pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:21:   {    r->fp=fp;    r->sp=sp-evaluator_stack;    r->mark_sp=mark_sp - mark_stack;    r->previous=recoveries;    r->onerror=0;    recoveries=r;    return r;   }    - void throw(void) ATTRIBUTE((noreturn)) + void pike_throw(void) ATTRIBUTE((noreturn))   {    if(!recoveries)    fatal("No error recovery context.\n");      #ifdef DEBUG    if(sp - evaluator_stack < recoveries->sp)    fatal("Stack error in error.\n");   #endif       while(fp != recoveries->fp)
pike.git/src/error.c:93:    fatal("Buffer overflow in error()\n");       push_string(make_shared_string(buf));    f_backtrace(0);    f_aggregate(2);    free_svalue(& throw_value);    sp--;    throw_value = *sp;       in_error=0; -  throw(); /* Hope someone is catching, or we will be out of balls. */ +  pike_throw(); /* Hope someone is catching, or we will be out of balls. */   }      void exit_on_error(void *msg)   {   #ifdef DEBUG    dump_backlog();   #endif    fprintf(stderr,"%s\n",(char *)msg);    exit(1);   }