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.174 2003/04/12 23:32:46 nilsson Exp $ + || $Id: main.c,v 1.175 2003/04/28 00:32:43 mast Exp $   */      #include "global.h" - RCSID("$Id: main.c,v 1.174 2003/04/12 23:32:46 nilsson Exp $"); + RCSID("$Id: main.c,v 1.175 2003/04/28 00:32:43 mast Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "language.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"
pike.git/src/main.c:737:    free_callback_list(& post_master_callbacks);       TRACE((stderr, "Call master->_main()...\n"));       a=allocate_array_no_init(argc,0);    for(num=0;num<argc;num++)    {    ITEM(a)[num].u.string=make_shared_string(argv[num]);    ITEM(a)[num].type=T_STRING;    } +  a->type_field = BIT_STRING;    push_array(a);       for(num=0;environ[num];num++);    a=allocate_array_no_init(num,0);    for(num=0;environ[num];num++)    {    ITEM(a)[num].u.string=make_shared_string(environ[num]);    ITEM(a)[num].type=T_STRING;    } -  +  a->type_field = BIT_STRING;    push_array(a);       apply(master(),"_main",2);    pop_stack();    num=0;    }    UNSETJMP(back);       TRACE((stderr, "Exit %s...\n", num));