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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/mkrules.pike:733:   int main(int ac,array(string) am)   {    array(string) files = am[1..];    if (!sizeof(files))    {    werror("defaulting to reading zonefiles from %s...",    combine_path(__FILE__, "../tzdata"));    files = get_dir(combine_path(__FILE__, "../tzdata"));    files = map(sort(files),    lambda(string fname) { -  if ((< "CVS", "factory", "leapseconds", >)[fname] || +  if ((< ".gitignore", "Makefile", "Theory", +  "factory", "leapseconds", >)[fname] || +  (upper_case(fname) == fname) ||    has_prefix(fname, "solar") || -  +  has_suffix(fname, ".awk") || +  has_suffix(fname, ".list") || +  has_suffix(fname, ".pl") ||    has_suffix(fname, ".sh") ||    has_suffix(fname, ".tab")) return 0;    return combine_path(__FILE__, "../tzdata", fname);    }) - ({ 0 });    }    map(files, collect_rules);       write("thinking...\n");       string t=TZrules_base;