delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/20/19:23:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <06FB337CD8D3D211B1510090273CE1580418DA5F@xenos3.xenos_org>
From: MorenoM <MorenoM AT xenos DOT org>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Tar fails when tarball contains an old file
Date: Tue, 20 Jan 2004 19:22:02 -0500
MIME-Version: 1.0

I'm running cygwin 1.5.5-1 on win2k and finally figured out that when
attempting to untar a tarball containing a file with a timestamp of
1/1/1970, it fails - in this case, killing cpan:

tar: libwww-perl-5.76/README: Cannot utime: Invalid argument

This makes sense since window's epoch is 1/1/1980, making it impossible to
accurately transcript the true (though perhaps bogus) modification date.  I
presume that all dates prior to 1980 would be problematic.  Seems to me that
tar should do the best it can by setting the timestamp to 1/1/1980 and issue
a warning, but not fail.

I'm new to the group and searched the archives, but not seen this issue
addressed.  And I'm not sure if this is really a bug in tar, but the *nix
folks won't ever encounter this problem.

Thanks,

Marco Moreno

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019