delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/07/09:20:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_20,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <20110307152005.17292u50da242vth@messagerie.si.c-s.fr>
Date: Mon, 07 Mar 2011 15:20:05 +0100
From: EXCOFFIER Denis <denis DOT excoffier AT c-s DOT fr>
To: cygwin AT cygwin DOT com
Subject: tar --atime-preserve with an empty file triggers a warning
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) H3 (4.3.5)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hello,

I've the experienced the following (100% reproducible under 1.7.7-1 or
1.7.8-1):

% cp /dev/null empty
% tar cf empty.tar --atime-preserve empty
/usr/bin/tar: empty: Cannot utime: Invalid argument
/usr/bin/tar: Exiting with failure status due to previous errors
%

Of course the empty.tar is created as expected (ie identical as without
`--atime-preserve). The warning is not produced on Solaris, Darwin or Linux,
therefore i contacted this list. Do you think, with your expertise, that i
should contact bug-tar also?

Regards,

Denis Excoffier.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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

- Raw text -


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