pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.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: builtin_functions.c,v 1.621 2007/01/15 15:50:38 grubba Exp $ + || $Id: builtin_functions.c,v 1.622 2007/01/15 15:51:39 grubba Exp $   */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"
pike.git/src/builtin_functions.c:2485:       if(in_exit) Pike_error("exit already called!\n");    in_exit=1;       if(args>1 && Pike_sp[1-args].type==T_STRING) {    struct svalue *s =    simple_mapping_string_lookup(get_builtin_constants(), "werror");    if (s) {    apply_svalue(s, args-1);    pop_stack(); -  } else if (args > 1) { +  } else {    fprintf(stderr, "No efun::werror() at exit.\n");    pop_n_elems(args-1);    }    args=1;    }       assign_svalue(&throw_value, Pike_sp-args);    throw_severity=THROW_EXIT;    pike_throw();   }