Date: Mon, 13 Jan 1997 22:23:19 -0800 (PST) From: asami@vader.cs.berkeley.edu (Satoshi Asami) To: dawes@rf900.physics.usyd.edu.au Cc: paulo@isr.uc.pt, current@freebsd.org Subject: Re: Mirror dies with FPE Message-ID: <199701140623.WAA01237@silvia.HIP.Berkeley.EDU> In-Reply-To: <199701140110.MAA02102@rf900.physics.usyd.edu.au> (message from David Dawes on Tue, 14 Jan 1997 12:10:50 %2B1100 (EST))
next in thread | previous in thread | raw e-mail | index | archive | help
* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701140623.WAA01237>
