Branch: Tag:

2004-04-28

2004-04-28 17:52:43 by Martin Stjernholm <mast@lysator.liu.se>

Keep it compiling.

Rev: server/base_server/configuration.pike:1.561
Rev: server/base_server/module.pike:1.166

1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS. - // $Id: module.pike,v 1.165 2004/04/28 16:30:55 grubba Exp $ + // $Id: module.pike,v 1.166 2004/04/28 17:52:43 mast Exp $      #include <module_constants.h>   #include <module.h>
307:    sub_id->raw_url = replace (id->raw_url, id->not_query, sub_id->not_query);    sub_id->method = "HEAD";    -  mapping(string:mixed)|int(-1..-1)|object res = find_file (path, sub_id); +  mapping(string:mixed)|int(-1..0)|object res = find_file (path, sub_id);    if (res == -1) res = ([]);    else if (objectp (res)) {    string ext;
356:   //! Returns the value of the specified property, or an error code   //! mapping.   //! - //! @param st - //! If set, this should be the stat that corresponds to @[path]. Its - //! only purpose is to save a call to @[stat_file] when the stat - //! already has been retrieved. - //! +    //! @note   //! Returning a string is shorthand for returning an array   //! with a single text node.
553:    return 0;   }    + #if 0   //! Mapping from canonical path to a mapping from username to   //! the locks that apply to the path.   //!
755:   {    return 0;   } + #endif      mapping(string:mixed)|int(-1..0)|Stdio.File find_file(string path,    RequestID id);