Branch: Tag:

1997-02-14

1997-02-14 03:43:03 by Per Hedbor <ph@opera.com>

Ha! Gotcha!

Rev: server/base_server/db.pike:1.7
Rev: server/base_server/persistent.pike:1.7
Rev: server/modules/filesystems/filesystem.pike:1.10
Rev: server/modules/logging/home_logger.pike:1.8
Rev: server/modules/proxies/ftpgateway.pike:1.10
Rev: server/modules/proxies/gopher.pike:1.6
Rev: server/modules/proxies/proxy.pike:1.12
Rev: server/modules/scripting/cgi.pike:1.11

3:   // This is a virtual "file-system".   // It will be located somewhere in the name-space of the server.   // Also inherited by some of the other filesystems. - string cvs_version = "$Id: filesystem.pike,v 1.9 1997/01/29 18:54:19 kg Exp $"; + string cvs_version = "$Id: filesystem.pike,v 1.10 1997/02/14 03:42:57 per Exp $";   #include <module.h>   #include <stat.h>   
17:   inherit "roxenlib";   inherit "socket";    + import Array; +    int redirects, accesses, errors, dirlists;   int puts, deletes;   
170:    if(QUERY(tilde) && QUERY(.files)) /* This is quite a lot faster */    return dir;    -  return filter_array(dir, dir_filter_function); +  return filter(dir, dir_filter_function);   }      
213:    return -1;   }    - #define FILE_SIZE(X) (stat_cache?_file_size((X),id):file_size(X)) + #define FILE_SIZE(X) (stat_cache?_file_size((X),id):Stdio.file_size(X))      mixed find_file( string f, object id )   {