Formerly ../time/__tzset.c.~16~
authorroland <roland>
Thu, 13 May 1993 04:43:32 +0000 (04:43 +0000)
committerroland <roland>
Thu, 13 May 1993 04:43:32 +0000 (04:43 +0000)
time/tzset.c

index dfb4ac7..c6cfdf0 100644 (file)
@@ -349,6 +349,9 @@ DEFUN(compute_change, (rule, year), tz_rule *rule AND int year)
   register time_t t;
   int y;
 
+  /* Turn tm_year into actual year.  */
+  year += 1970;
+
   if (year != -1 && rule->computed_for == year)
     /* Operations on times in 1969 will be slower.  Oh well.  */
     return 1;