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

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:1:   // This is a roxen 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.121 2003/06/11 15:50:03 grubba Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.122 2003/06/26 15:59:22 anders Exp $";   constant thread_safe=1;      #include <module.h>   #include <roxen.h>   #include <stat.h>   #include <request_trace.h>         //<locale-token project="mod_filesystem">LOCALE</locale-token>   #define LOCALE(X,Y) _DEF_LOCALE("mod_filesystem",X,Y)
Roxen.git/server/modules/filesystems/filesystem.pike:1161:    [String.trim_whites(id->request_headers->depth)]) {    // RFC 2518 8.6.2:    // The DELETE method on a collection MUST act as if a "Depth: infinity"    // header was used on it.    TRACE_LEAVE(sprintf("DELETE: Bad depth header: %O.",    id->request_headers->depth));    return http_low_answer(400, "<h2>Unsupported depth.</h2>");    }       if (size < 0) { -  report_notice(LOCALE(0,"DELETING the directory %s.\n"), f); +  report_notice(LOCALE(64,"DELETING the directory %s.\n"), f);       accesses++;       SETUID_TRACE("Deleting directory", 0);       MultiStatus result = recursive_rm(f, oldf, id);       if (!rm(f)) {    if (result) {   #if constant(system.EEXIST)