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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Events.pmod:180:    string id="namedays/"+region;    object res;    if ( (res=made_namedays[region]) )    return res;    string all=read_all_namedays();       int i=search(all,"\nRegion \""+region+"\"");    if (i==-1) return UNDEFINED; // not found       int i2=search(all,"\nRegion",i+1); -  if (i2==-1) i2=strlen(all)-1; +  if (i2==-1) i2=sizeof(all)-1;       array(array(string)) names=0;    int start=-1,stop=-1;    int leapdayshift=2000;    string charset="iso-8859-1";    function(string:string) decoder=0;       foreach (all[i..i2]/"\n",string line)    {    string w="",s;