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.171 2004/05/04 12:35:13 mast Exp $ + // $Id: module.pike,v 1.172 2004/05/04 13:26:55 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:640:       if (recursive) {    foreach(file_locks|prefix_locks;    string prefix; mapping(string:DAVLock) sub_locks) {    if (has_prefix(prefix, path)) {    add_locks (sub_locks);    }    }    }    +  add_locks = 0; +     return sizeof(locks) && locks;   }      //! Check if there are one or more locks that apply to @[path] for the   //! user the request is authenticated as.   //!   //! @param path   //! Canonical path relative to the filesystem root. Always ends with   //! a @expr{"/"@}.   //!