From owner-freebsd-bugs Tue Jan 14 01:20:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA02625 for bugs-outgoing; Tue, 14 Jan 1997 01:20:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA02589; Tue, 14 Jan 1997 01:20:02 -0800 (PST) Date: Tue, 14 Jan 1997 01:20:02 -0800 (PST) Message-Id: <199701140920.BAA02589@freefall.freebsd.org> To: freebsd-bugs Cc: From: Robert Eckardt Subject: Re: bin/2488: fetch sometimes fails to set timestamp correctly Reply-To: Robert Eckardt Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/2488; it has been noted by GNATS. From: Robert Eckardt To: asami@freebsd.org Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/2488: fetch sometimes fails to set timestamp correctly Date: Tue, 14 Jan 1997 10:08:37 +0100 (MET) > >Number: 2488 > >Category: bin > >Synopsis: fetch sometimes fails to set timestamp correctly > >Originator: Satoshi Asami > >Release: FreeBSD 2.2-RELEASE i386 > >Description: > > fetch sometimes fails to get timestamp correctly and sets it to > epoch. This causes some interesting effects, like triggering a bug > to mirror and killing it. > > >Fix: > > Not known at time of writing. This was fixed in bin/2170: fetch in 2.1.5R doesn't keep interrupted files and sets wrong mirror date Part of the patch was: @@ -102,5 +103,5 @@ if (file != stdout) { - if (!restart && !mirror) + if (!restart && !mirror && !keep) remove (outputfile); - else if (!mirror) { + else if (mirror) { tv[0].tv_usec = tv[1].tv_usec = 0; > >> ls -lg bash-1.14.7.tar.gz > 1496 -rw-r--r-- 1 asami2 wheel 1518180 Dec 31 1969 bash-1.14.7.tar.gz (I thought 1.1.1970 was the earliest time ?!?!) Robert -- Robert Eckardt \\ FreeBSD -- solutions for a large universe.(tm) RobertE@MEP.Ruhr-Uni-Bochum.de \\ What do you want to boot tomorrow ?(tm) http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de