Roxen.git / server / modules / filesystems / filesystem.pike

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:1:   // This is a ChiliMoon module. Copyright © 1996 - 2001, Roxen IS.      // This is a virtual "file-system".   // It will be located somewhere in the name-space of the server.   // Also inherited by some of the other filesystems.      inherit "module";   inherit "socket";    - constant cvs_version = "$Id: filesystem.pike,v 1.125 2004/05/23 14:14:37 _cvs_dirix Exp $"; + constant cvs_version = "$Id: filesystem.pike,v 1.126 2004/05/31 23:01:51 _cvs_stephen Exp $";   constant thread_safe = 1;      #include <module.h>   #include <stat.h>   #include <request_trace.h>   #include <roxen.h>      // NGSERVER: Make an API where a module can send back an error token which is   // then substituted with the apropriate message for the protocol and locale.   // This would enable us to theme other error pages than the now special case 404.
Roxen.git/server/modules/filesystems/filesystem.pike:274:    normalized_path += "/";   #endif /* __NT__ */    }) {    report_error("Path verification of %s failed.\n", mountpoint);    normalized_path = path;    }   #else /* !constant(system.normalize_path) */    normalized_path = path;   #endif /* constant(system.normalize_path) */    FILESYSTEM_WERR("Online at "+query("mountpoint")+" (path="+path+")"); -  cache_expire("stat_cache"); +  cache_remove("stat_cache");   }      string query_location()   {    return mountpoint;   }         #define FILTER_INTERNAL_FILE(f, id) \    (!id->misc->internal_get && sizeof (filter (internal_files, glob, (f/"/")[-1])))