pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.105 2000/10/10 00:02:51 hubbe Exp $"); + RCSID("$Id: main.c,v 1.106 2000/11/06 17:03:32 grubba 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:564:    push_array(a);       apply(master(),"_main",2);    pop_stack();       backend();    num=0;    }    UNSETJMP(back);    -  do_exit(num); +  pike_do_exit(num);    return num; /* avoid warning */   }      #undef ATTRIBUTE   #define ATTRIBUTE(X)    - DECLSPEC(noreturn) void do_exit(int num) ATTRIBUTE((noreturn)) + DECLSPEC(noreturn) void pike_do_exit(int num) ATTRIBUTE((noreturn))   {    call_callback(&exit_callbacks, (void *)0);    free_callback_list(&exit_callbacks);       exit_modules();      #ifdef DEBUG_MALLOC    {    extern void cleanup_memhdrs(void);    cleanup_memhdrs();