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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/mkrules.pike:663:    throw( sprintf(fmt,@args) );   }      void collect_rules(string file)   {    int n=0;    werror("reading %O...\n",file);    string s=Stdio.read_bytes(file),t;    if (!s)    { -  werror("%s:-: Failed to open file: %s\n",file,strerror(errno())); +  werror("%s:-: Failed to open file: %m.\n",file);    return;    }       Zone lastz;    MyRule lastr;       foreach (s/"\n",string line)    {    n++;    mixed err=catch