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.48 1998/04/13 14:21:28 grubba Exp $"); + RCSID("$Id: main.c,v 1.49 1998/04/14 19:04:05 hubbe Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"   #include "interpret.h"
pike.git/src/main.c:426:    cleanup_added_efuns();    cleanup_pike_types();    cleanup_program();    cleanup_compiler();    cleanup_backend();       do_gc();    free_svalue(& throw_value);    throw_value.type=T_INT;    -  cleanup_callbacks(); +    #if defined(DEBUG) && defined(DEBUG_MALLOC)    if(verbose_debug_exit)    {    INT32 num,size,recount=0;    fprintf(stderr,"Exited normally, counting bytes.\n");       count_memory_in_arrays(&num, &size);    if(num)    {    recount++;
pike.git/src/main.c:495: Inside #if defined(DEBUG) && defined(DEBUG_MALLOC)
   fprintf(stderr,"Objects left: %d (%d bytes)\n",num,size);       cleanup_shared_string_table();    }   #else       zap_all_arrays();    zap_all_mappings();       cleanup_shared_string_table(); +  cleanup_callbacks();   #endif   }