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.214 2004/10/14 11:07:44 grubba Exp $ + || $Id: main.c,v 1.215 2004/10/22 23:24:28 nilsson 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:911:    debug_print_rusage (stderr);   #endif       exit(num);   }         void low_init_main(void)   {    void init_iterators(void); +  void init_facetgroup(void);       init_cpp();    init_backend();    init_iterators();    init_pike_searching();    init_error();    init_pike_security();    th_init();    init_operators();       init_builtin();       init_builtin_efuns();    init_signals();    init_dynamic_load(); -  +  init_facetgroup();   }      void exit_main(void)   {   #ifdef DO_PIKE_CLEANUP    size_t count;       if (exit_with_cleanup) {    /* Destruct all remaining objects while we have a proper execution    * environment. The downside is that the leak report below will
pike.git/src/main.c:965:   }      void init_main(void)   {   }      void low_exit_main(void)   {   #ifdef DO_PIKE_CLEANUP    void exit_iterators(void); +  void exit_facetgroup(void);       /* Clear various global references. */      #ifdef AUTO_BIGNUM    exit_auto_bignum();   #endif    exit_pike_searching();    exit_object();    exit_signals();    exit_builtin();    exit_cpp();    cleanup_interpret();    exit_builtin_constants();    cleanup_module_support();    exit_operators();    exit_iterators(); -  +  exit_facetgroup();    cleanup_program();    cleanup_compiler();    cleanup_error();    exit_backend();    cleanup_gc();    cleanup_pike_types();       /* This zaps Pike_interpreter.thread_state among other things, so    * THREADS_ALLOW/DISALLOW are NOPs beyond this point. */    th_cleanup();