Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS. - // $Id: module.pike,v 1.207 2004/05/13 15:59:22 mast Exp $ + // $Id: module.pike,v 1.208 2004/05/13 16:09:36 grubba Exp $      #include <module_constants.h>   #include <module.h>   #include <request_trace.h>      constant __pragma_save_parent__ = 1;      inherit "basic_defvar";   mapping(string:array(int)) error_log=([]);   
Roxen.git/server/base_server/module.pike:1184:   //! appropriate status mapping for any other error. That includes an   //! empty mapping in case some subparts couldn't be deleted, to   //! signify a 207 Multi-Status response using the info in   //! @[id->get_multi_status()].   mapping(string:mixed) recurse_delete_files(string path,    RequestID id,    void|MultiStatus.Prefixed stat)   {    SIMPLE_TRACE_ENTER (this, "Deleting %O recursively", path);    if (!stat) -  id->get_multi_status()->prefix (id->url_base() + query_location()[1..]); +  stat = id->get_multi_status()->prefix (id->url_base() + +  query_location()[1..]);       Stat st = stat_file(path, id);    if (!st) {    SIMPLE_TRACE_LEAVE ("No such file or directory");    return 0;    }       mapping(string:mixed) recurse (string path, Stat st)    {    // Note: Already got an extra TRACE_ENTER level on entry here.