pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1: - /* $Id: master.pike.in,v 1.63 1999/10/16 04:03:16 hubbe Exp $ + /* $Id: master.pike.in,v 1.64 1999/10/21 21:34:14 hubbe Exp $    *    * Master-file for Pike.    *    * Based on master.pike 1.67.    */      // Some configurable parameters useful for debugging      #define PIKE_AUTORELOAD   
pike.git/lib/master.pike.in:362:    * backtrace() efun.    */   void handle_error(mixed *trace)   {    predef::trace(0);    if(mixed x=catch {    werror(describe_backtrace(trace));    })    {    werror("Error in handle_error in master object:\n"); +  if(catch {    werror("%O\nOriginal error:\n%O\n",x,trace); -  +  }) { +  werror("sprintf() failed to write error.\n");    } -  +  }      }      object new(mixed prog, mixed ... args)   {    if(stringp(prog))    {    if(program p=cast_to_program(prog,backtrace()[-2][0]))    return p(@args);    else