This is the mail archive of the
cygwin
mailing list for the Cygwin project.
tar --atime-preserve with an empty file triggers a warning
- From: EXCOFFIER Denis <denis dot excoffier at c-s dot fr>
- To: cygwin at cygwin dot com
- Date: Mon, 07 Mar 2011 15:20:05 +0100
- Subject: tar --atime-preserve with an empty file triggers a warning
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