This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]