Branch: Tag:

2004-05-13

2004-05-13 17:45:20 by Martin Stjernholm <mast@lysator.liu.se>

Made copy_properties static so that other filesystem modules doesn't have to
make it work.

Rev: server/base_server/module.pike:1.209
Rev: server/base_server/prototypes.pike:1.126

1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS. - // $Id: module.pike,v 1.208 2004/05/13 16:09:36 grubba Exp $ + // $Id: module.pike,v 1.209 2004/05/13 17:45:20 mast Exp $      #include <module_constants.h>   #include <module.h>
1255:    return find_file(path, tmp_id);   }    - //! Copy all properties at @[source] to @[destination]. + //! Used by the default @[copy_collection] implementation to copy all + //! properties at @[source] to @[destination].   //!   //! @param source   //! Source path below the filesystem location.
1270:   //! @returns   //! @expr{0@} (zero) in success or an appropriate status mapping for   //! any error. - mapping(string:mixed) copy_properties(string source, string destination, + static mapping(string:mixed) copy_properties(string source, string destination,    PropertyBehavior behavior, RequestID id)   {    SIMPLE_TRACE_ENTER(this, "copy_properties(%O, %O, %O, %O)",