summaryrefslogtreecommitdiff
path: root/net/lftp/patches/patch-ag
blob: 7db1886168ae8b4d711186a69e055f9ca2438ee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ag,v 1.1 2009/06/17 08:40:57 tnn Exp $

--- lib/mktime.c.orig	2009-01-16 08:58:41.000000000 +0100
+++ lib/mktime.c
@@ -165,8 +165,10 @@ ydhms_diff (long int year1, long int yda
 	    int year0, int yday0, int hour0, int min0, int sec0)
 {
   verify (C99_integer_division, -1 / 2 == 0);
+/* This assertion fails on NetBSD-current/i386 due to 64-bit time_t
   verify (long_int_year_and_yday_are_wide_enough,
 	  INT_MAX <= LONG_MAX / 2 || TIME_T_MAX <= UINT_MAX);
+*/
 
   /* Compute intervening leap days correctly even if year is negative.
      Take care to avoid integer overflow here.  */