pike.git / src / module.c

version» Context lines:

pike.git/src/module.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: module.c,v 1.53 2008/06/02 21:50:55 mast Exp $ + || $Id: module.c,v 1.54 2008/06/23 16:39:04 mast Exp $   */      #include "global.h"   #include "module.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "builtin_functions.h"   #include "main.h"   #include "svalue.h"   #include "interpret.h"
pike.git/src/module.c:169: Inside #if defined(DO_PIKE_CLEANUP) and #if defined(_REENTRANT)
   exit_with_cleanup = 0;    return;    }   #endif      #ifdef DEBUG_MALLOC    search_all_memheaders_for_references();   #endif       /* The use of markers below only works after a gc run where it -  * hasn't freed anything. Since we've destructed all objects in -  * exit_main, nothing should be left after the run above, so only -  * one more run is necessary. */ +  * hasn't freed anything. Since we've destructed all live objects +  * in exit_modules, nothing should be left after the run above, so +  * only one more run is necessary. */    gc_keep_markers = 1;    do_gc (NULL, 1);      #define STATIC_ARRAYS &empty_array, &weak_empty_array,      #define REPORT_LINKED_LIST_LEAKS(TYPE, START, STATICS, T_TYPE, NAME, \    PRINT_EXTRA) do { \    struct TYPE *x; \    for (x = START; x; x = x->next) { \    struct marker *m = find_marker (x); \