tar --atime-preserve with an empty file triggers a warning

EXCOFFIER Denis denis.excoffier@c-s.fr
Mon Mar 7 14:33:00 GMT 2011


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



More information about the Cygwin mailing list