Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "'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 Content-Type: text/plain 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/