From asami2@han.cs.berkeley.edu  Mon Jan 13 22:23:40 1997
Received: : from han.cs.berkeley.edu (han.CS.Berkeley.EDU [128.32.38.229])
          by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id WAA04960
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 13 Jan 1997 22:23:39 -0800 (PST)
Received: (from asami2@localhost) by han.cs.berkeley.edu (8.8.4/8.7.3) id WAA23278; Mon, 13 Jan 1997 22:23:17 -0800 (PST)
Message-Id: <199701140623.WAA23278@han.cs.berkeley.edu>
Date: Mon, 13 Jan 1997 22:23:17 -0800 (PST)
From: asami@freebsd.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: fetch sometimes fails to set timestamp correctly
X-Send-Pr-Version: 3.2

>Number:         2488
>Category:       bin
>Synopsis:       fetch sometimes fails to set timestamp correctly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          duplicate
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 13 22:30:01 PST 1997
>Closed-Date:    Sat Feb 22 21:46:27 PST 1997
>Last-Modified:  Sat Feb 22 21:47:03 PST 1997
>Originator:     Satoshi Asami
>Release:        FreeBSD 2.2-RELEASE i386
>Organization:
The FreeBSD Bug Discovery Team
>Environment:

It's up there.

>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.

>How-To-Repeat:

>Fix:
	
	Not known at time of writing.

>Release-Note:
>Audit-Trail:

From: Robert Eckardt <roberte@mep.ruhr-uni-bochum.de>
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
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Sat Feb 22 21:46:27 PST 1997 
State-Changed-Why:  
Duplicate of PR# 2170. 
>Unformatted:
 >> ncftp ftp://slc2.ins.cwru.edu/pub/dist/
  :
 slc2.ins.cwru.edu:/pub/dist
 ncftp>dir bash-1.14.7.tar.gz
 -r--r--r--  1 root     staff     1518180 Aug 27 14:27 bash-1.14.7.tar.gz
                                          ^^^^^^^^^^^^
 
 >> fetch ftp://slc2.ins.cwru.edu/pub/dist/bash-1.14.7.tar.gz
 Receiving bash-1.14.7.tar.gz: 1482 Kbytes
 1518180 bytes transfered in 25.9 seconds  (57.17 K/s)
 asami(p0) han 29 22:17:51 /ccd/ports/shells/bash
 >> 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
                                           ^^^^^^^^^^^^
 
