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 To: cygwin AT cygwin DOT com Subject: tar --atime-preserve with an empty file triggers a warning MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.5) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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