pike.git / lib / modules / Calendar.pmod / Timezone.pmod

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Timezone.pmod:1034:    mapping zone_cache=([]);    mapping rule_cache=([]);    string all_rules=0;       string get_all_rules()    {    return    map(files,    lambda(string fn)    { -  return master()->master_read_file(base_path+fn) || -  (error("Failed to open file %O\n",base_path+fn), ""); +  return (master()->master_read_file(base_path+fn) || +  (error("Failed to open file %O\n",base_path+fn), "")) - "\r";    })*"\n";    }       class Dummymodule    {    function(string:mixed) f;    mixed `[](string s) { return f(s); }    void create(function(string:mixed) _f) { f=_f; }    }