X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 18 Mar 2010 22:12:15 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Updated [experimental]: coreutils-8.4-1 Message-ID: <20100318211214.GA2334@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4B9925EF DOT 2050305 AT byu DOT net> <4BA28BC7 DOT 7090803 AT redhat DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BA28BC7.7090803@redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Mar 18 14:23, Eric Blake wrote: > On 03/11/2010 10:18 AM, Eric Blake wrote: > > For those people testing cygwin snapshots, a new release of coreutils, > > 8.4-1, has been uploaded. 7.0-2 remains current, because the 8.4-1 > > release depends on features available only in recent snapshots (that is, > > don't upgraded if you are still using the current cygwin 1.7.1). > > Is no one else testing this? I'm thinking I introduced a bug, because > 'mv a b' creates 'b.exe', even if 'a' did not have an implicit .exe, and > am looking into building 8.4-2 to fix it. Sorry, Eric. I didn't test it so far but now I installed it and it looks like I have a few problems. 1) While rename(2) allows to drop the .exe suffix, mv(1) doesn't anymore: $ mv a.exe a mv: a.exe and a are the same files Expected result: $ mv a.exe a $ ls a* a 2) Even renaming doesn't drop the suffix: $ mv a.exe b $ ls b* b.exe Expected result: $ mv a.exe b $ ls b* b 3) And, as you noticed yourself, mv adds the suffix even if it wasn't given in the original filename: $ ls a* a $ mv a b $ ls b* b.exe Expected result: $ mv a b $ ls b* b In theory, the only case which should append a suffix is this one: $ ls a* a.exe $ mv a b $ ls b* b.exe All of the above problems also affect cp (and probably install). Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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