pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1: + /*\ + ||| This file a part of uLPC, and is copyright by Fredrik Hubinette + ||| uLPC is distributed as GPL (General Public License) + ||| See the files COPYING and DISCLAIMER for more information. + \*/   #include <stdio.h>   #include <stdlib.h>   #include "global.h"   #include "types.h" -  +    #ifdef HAVE_SYS_TIME_H   #include <sys/time.h>   #endif -  +    #include "backend.h"   #include "module.h"   #include "object.h"   #include "lex.h"   #include "lpc_types.h"   #include "builtin_efuns.h"   #include "array.h"   #include "stralloc.h"   #include "interpret.h"   #include "error.h"   #include "macros.h"   #include "callback.h" -  + #include "lpc_signal.h"      #ifdef HAVE_LOCALE_H   #include <locale.h>   #endif   #ifdef HAVE_SYS_RESOURCE_H   #include <sys/resource.h>   #endif      char *master_file;   
pike.git/src/main.c:184:    push_int(0);    f_exit(1);   }         void init_main_efuns()   {    init_lex();    init_types();    init_builtin_efuns(); +  init_signals();   }      void init_main_programs()   {   }         void exit_main()   {    void cleanup_added_efuns();    void free_all_call_outs();    void cleanup_lpc_types();    void cleanup_program();       automatic_fatal="uLPC is exiting: "; -  +  exit_signals();    exit_lex();    cleanup_objects();    cleanup_interpret();    cleanup_added_efuns();    free_all_call_outs();    cleanup_lpc_types();    cleanup_shared_string_table();    cleanup_program();   }