Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS.    - constant cvs_version = "$Id: configuration.pike,v 1.377 2000/09/19 14:25:36 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.378 2000/09/24 01:48:17 per Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>      inherit "basic_defvar";      mapping enabled_modules = ([]);   mapping(string:array(int)) error_log=([]);
Roxen.git/server/base_server/configuration.pike:1577:    if(!nbytes)    {    offset = strlen(data);    return data;    }    string d = data[offset..offset+nbytes-1];    offset += strlen(d);    return d;    }    -  array|mixed stat() +  array stat()    { -  if( _st ) return _st; +  if( _st ) return (array)_st;    return ({ 0, strlen(data), time(), time(), time(), 0, 0, 0 });    }       void write(mixed ... args)    {    throw( ({ "File not open for write\n", backtrace() }) );    }       void seek(int to)    {