From owner-freebsd-current Mon Jan 13 22:29:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id WAA07584 for current-outgoing; Mon, 13 Jan 1997 22:29:18 -0800 (PST) Received: from dfw-ix12.ix.netcom.com (dfw-ix12.ix.netcom.com [206.214.98.12]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id WAA07559 for ; Mon, 13 Jan 1997 22:29:15 -0800 (PST) Received: from silvia.HIP.Berkeley.EDU (wck-ca21-14.ix.netcom.com [207.94.231.110]) by dfw-ix12.ix.netcom.com (8.6.13/8.6.12) with ESMTP id WAA15269; Mon, 13 Jan 1997 22:23:27 -0800 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.4/8.6.9) id WAA01237; Mon, 13 Jan 1997 22:23:19 -0800 (PST) Date: Mon, 13 Jan 1997 22:23:19 -0800 (PST) Message-Id: <199701140623.WAA01237@silvia.HIP.Berkeley.EDU> To: dawes@rf900.physics.usyd.edu.au CC: paulo@isr.uc.pt, current@freebsd.org In-reply-to: <199701140110.MAA02102@rf900.physics.usyd.edu.au> (message from David Dawes on Tue, 14 Jan 1997 12:10:50 +1100 (EST)) Subject: Re: Mirror dies with FPE From: asami@vader.cs.berkeley.edu (Satoshi Asami) Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * Yes, I've seen this too. It happens because there is a file in * /pub/FreeBSD/distfiles with its mtime set to the Epoch, which in PST * (cdrom.com's timezone) is 31 Dec 1969. This is an invalid date in This is because of a bug in fetch. I just opened a PR for it. * Since the timestamp on the offending file(s) didn't get fixed when * I mentioned it a while back, I modified mirror to avoid the problem: Nonetheless, mirror shouldn't die because of it. Should this patch be applied to the mirror port? * *** /usr/local/lib/mirror/dateconv.pl.save Fri Nov 1 17:28:54 1996 * --- /usr/local/lib/mirror/dateconv.pl Sun Nov 24 23:18:08 1996 * *************** * *** 111,116 **** * --- 111,120 ---- * if( $year > 1900 ){ * $year -= 1900; * } * + * + if( $year < 70 ){ * + $year = 70; * + } * * $x = &'timelocal( $secs, $mins, $hours, $day, $month, $year ); * if( $use_timelocal ){ * * Satoshi