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.157 2002/10/11 13:18:09 grubba Exp $ + || $Id: main.c,v 1.158 2002/11/25 00:52:18 mast Exp $   */      #include "global.h" - RCSID("$Id: main.c,v 1.157 2002/10/11 13:18:09 grubba Exp $"); + RCSID("$Id: main.c,v 1.158 2002/11/25 00:52:18 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:739:   #define ATTRIBUTE(X)      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(); -  } +  cleanup_debug_malloc();   #endif         #ifdef PROFILING    {    int q;    for(q=0;q<(long)NELEM(samples);q++)    if(samples[q])    fprintf(stderr,"STACK WAS %4d Kb %12u times\n",q-1,samples[q]);    }