Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2009, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.682 2009/11/01 21:34:33 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.683 2009/11/01 21:35:55 mast Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>   #include <timers.h>      #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;
Roxen.git/server/base_server/configuration.pike:3655:       if( forcibly_added[modname] == 2 )    return search(otomod, modname);       if( datacache ) datacache->flush();       if( sscanf(modname, "%s#%d", modname, id ) != 2 )    while( modules[ modname ] && modules[ modname ][ id ] )    id++;    + #ifdef DEBUG +  if (mixed init_info = roxen->bootstrap_info->get()) +  if (arrayp (init_info)) +  error ("Invalid recursive call to enable_module while enabling %O/%s.\n", +  init_info[0], init_info[1]); + #endif +     roxen->bootstrap_info->set (({this_object(), modname + "#" + id}));      #ifdef MODULE_DEBUG    int start_time = gethrtime();   #endif       if( !moduleinfo )    {    moduleinfo = roxen->find_module( modname );