pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   // -*- Pike -*-   //   // Master Control Program for Pike.   //   // This file is part of Pike. For copyright information see COPYRIGHT.   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.355 2005/07/22 20:16:10 nilsson Exp $ + // $Id: master.pike.in,v 1.356 2005/09/09 17:48:21 mast Exp $      #pike __REAL_VERSION__   //#pragma strict_types      // Some programs destroys character pairs beginning with the currency   // symbol when running in chinese locale.   #if "ยค/" != "\244/"   #error "master.pike.in is corrupted."   #endif   
pike.git/lib/master.pike.in:1013:    werror(describe_backtrace(trace));    }) {    // One reason for this might be too little stack space, which    // easily can occur for "out of stack" errors. It should help to    // tune up the STACK_MARGIN values in interpret.c then.    werror("Error in handle_error in master object:\n");    if(catch {    catch {    if (catch {    string msg = [string]x[0]; +  werror("%s", msg);    array bt = [array]x[1]; -  werror("%s%O\n", msg, bt); +  werror("%O\n", bt);    }) {    werror("%O\n", x);    }    };    werror("Original error:\n"    "%O\n", trace);    }) {    werror("sprintf() failed to write error.\n");    }    }