Applied MINIX 2.0.4 pathes provides by Al Woodhull.

This commit is contained in:
Jorrit Herder
2005-06-17 13:00:04 +00:00
parent 330d7eba56
commit 7279bb68ef
34 changed files with 2790 additions and 56 deletions

View File

@@ -352,7 +352,7 @@ date_of(register struct dsttype *dst, struct tm *timep)
tmpday = day;
day += (dst->ds_date[2] - firstday + 7) % 7
+ 7 * (dst->ds_date[1] - 1);
if (day >= tmpday + _ytab[leap][month]) day -= 7;
if (day >= tmpday + _ytab[leap][month-1]) day -= 7;
return day;
}