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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Timezone.pmod:751:    array a= array_sscanf(line, replace("%s %s %s %s %s %s %s %[^\t ]",    " ","%*[ \t]"));       if (sizeof(a)<8) complain("illegal rule line format\n");       if (!(int)a[0] && a[0]!="min")    complain("unknown year %O\n",a[0]);       // ---    - #define INF_YEAR 2050 + #define INF_YEAR 2100   #define NUL_YEAR 1850       int y1=(int)a[0] || NUL_YEAR;    int y2;    if (a[1]=="max") y2=INF_YEAR;    else if (a[1]=="only") y2=y1;    else if (!(y2=(int)a[1]))    complain("unknown year %O\n",a[1]);    else if (y2>=INF_YEAR)    complain("big year\n");