Branch: Tag:

2004-05-03

2004-05-03 19:41:57 by Martin Stjernholm <mast@lysator.liu.se>

Always activate the default lock implementation, to keep things simple. This
means that locking works in read-only filesystems too, but it doesn't get in
the way of read operations, and in normal view-only sites the webdav module
won't be active to handle LOCK requests anyway.

Rev: server/base_server/module.pike:1.170
Rev: server/base_server/prototypes.pike:1.94

6:   #include <module.h>   #include <variables.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.93 2004/05/03 19:04:43 mast Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.94 2004/05/03 19:41:56 mast Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
1585:    DAVLock|int(-2..1) check_locks(string path,    int(0..1) recursive,    RequestID id); -  mapping(string:mixed)|int(0..1) lock_file(string path, +  mapping(string:mixed) lock_file(string path,    DAVLock lock,    RequestID id);    mapping(string:mixed) unlock_file (string path,