pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1:   /*   || 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: main.c,v 1.227 2007/05/18 14:00:48 grubba Exp $ + || $Id: main.c,v 1.228 2008/01/26 22:34:21 mast Exp $   */      #include "global.h"   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"
pike.git/src/main.c:542:    throw_value.u.object->prog == master_load_error_program &&    !get_master()) {    /* Report this specific error in a nice way. Since there's no    * master it'd be reported with a raw error dump otherwise. */    struct generic_error_struct *err;       dynamic_buffer buf;    dynbuf_string s;    struct svalue t;    -  *(Pike_sp++) = throw_value; -  dmalloc_touch_svalue(Pike_sp-1); -  throw_value.type=T_INT; +  move_svalue (Pike_sp++, &throw_value); +  mark_free_svalue (&throw_value);    err = (struct generic_error_struct *)    get_storage (Pike_sp[-1].u.object, generic_error_program);       t.type = PIKE_T_STRING;    t.u.string = err->error_message;       init_buf(&buf);    describe_svalue(&t,0,0);    s=complex_free_buf(&buf);