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.228 2008/01/26 22:34:21 mast Exp $ + || $Id: main.c,v 1.229 2008/06/05 15:10:45 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:571:    }else{    struct object *m;       back.severity=THROW_EXIT;       if ((m = load_pike_master())) {    TRACE((stderr, "Call master->_main()...\n"));       pike_push_argv(argc, argv);    -  pike_push_env(); -  -  apply(m, "_main", 2); +  apply(m, "_main", 1);    pop_stack();    num=0;    } else {    num = -1;    }    }    UNSETJMP(back);       TRACE((stderr, "Exit %d...\n", num));       pike_do_exit(num);    return num; /* avoid warning */   }