Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Internet Server.   // Copyright © 1996 - 2001, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.535 2002/10/01 22:20:11 nilsson Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.536 2002/10/01 22:43:38 nilsson 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)      #ifdef THROTTLING_DEBUG   #undef THROTTLING_DEBUG
Roxen.git/server/base_server/configuration.pike:1863:    loc=loc[strlen(file)..];    sscanf(loc, "%s/", loc);    if (dir) {    dir |= ({ loc });    } else {    dir = ({ loc });    }    TRACE_LEAVE("Added module mountpoint.");    }    } -  if(!dir) return verbose ? ({0})+locks : ([])[0]; +  if(!dir) return verbose ? ({0})+locks : UNDEFINED;    if(sizeof(dir))    {    TRACE_LEAVE(sprintf("Returning list of %d files.", sizeof(dir)));    return dir;    }    TRACE_LEAVE("Returning 'No such directory'.");    return 0;   }      // Stat a virtual file.