Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1: - /* $Id: module.pike,v 1.25 1997/10/20 15:16:59 grubba Exp $ */ + /* $Id: module.pike,v 1.26 1997/10/22 19:47:40 grubba Exp $ */      #include <module.h>      mapping (string:mixed *) variables=([]);      object this = this_object();   int module_type;   string fix_cvs(string from)   {    from = replace(from, ({ "$", "Id: "," Exp $" }), ({"","",""}));
Roxen.git/server/base_server/module.pike:471:    return patterns;   }      mixed stat_file(string f, object id){}   mixed find_dir(string f, object id){}   mapping(string:array(mixed)) find_dir_stat(string f, object id)   {    array(string) files = find_dir(f, id);    mapping(string:array(mixed)) res = ([]);    -  foreach(files || ({}), string f) { -  array(mixed) st = stat_file(f, id); +  foreach(files || ({}), string fname) { +  array(mixed) st = stat_file(f + "/" + fname, id);    if (st) { -  res[f] = st; +  res[fname] = st;    }    }    return(res);   }   mixed real_file(string f, object id){}      object get_font_from_var(string base)   {    int weight, slant;    switch(query(base+"_weight"))