Branch: Tag:

2008-10-12

2008-10-12 22:14:03 by Martin Stjernholm <mast@lysator.liu.se>

Added pike_cycle_depth constants to make Pike.count_memory avoid the most
central global structures.

Rev: server/base_server/configuration.pike:1.658
Rev: server/base_server/module.pike:1.232
Rev: server/base_server/roxen.pike:1.996
Rev: server/etc/modules/RXML.pmod/module.pmod:1.378
Rev: server/etc/modules/RXML.pmod/utils.pmod:1.35
Rev: server/etc/modules/Roxen.pmod:1.249

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.657 2008/09/04 09:49:30 jonasw Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.658 2008/10/12 22:14:03 mast Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
14:      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)    + // Tell Pike.count_memory this is global. + constant pike_cycle_depth = 0; +    // --- Locale defines ---   //<locale-token project="roxen_start"> LOC_S </locale-token>   //<locale-token project="roxen_config"> LOC_C </locale-token>