1 $NetBSD: patch-ai,v 1.4 2009/01/20 00:33:56 tnn Exp $
3 --- lib/mktime.c.orig 2007-10-30 21:48:29.000000000 +0100
5 @@ -167,8 +167,12 @@ ydhms_diff (long int year1, long int yda
6 int year0, int yday0, int hour0, int min0, int sec0)
8 verify (C99_integer_division, -1 / 2 == 0);
10 +#warning this might break with 64-bit time_t on 32-bit hosts
12 verify (long_int_year_and_yday_are_wide_enough,
13 INT_MAX <= LONG_MAX / 2 || TIME_T_MAX <= UINT_MAX);
16 /* Compute intervening leap days correctly even if year is negative.
17 Take care to avoid integer overflow here. */