delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/20/19:09:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-50.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Subject: Re: Regression in .exe extension handling
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
To: cygwin <cygwin AT cygwin DOT com>
In-Reply-To: <4C29FB20.6070006@redhat.com>
References: <1277766496 DOT 7412 DOT 18 DOT camel AT YAAKOV04> <4C292D35 DOT 6000005 AT redhat DOT com> <1277780070 DOT 7412 DOT 231 DOT camel AT YAAKOV04> <20100629084337 DOT GA8163 AT calimero DOT vinschen DOT de> <4C29FB20 DOT 6070006 AT redhat DOT com>
Date: Tue, 20 Jul 2010 18:09:29 -0500
Message-ID: <1279667369.5952.8.camel@YAAKOV04>
Mime-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 Tue, 2010-06-29 at 07:54 -0600, Eric Blake wrote:
> Most likely, the hole is in coreutils' exe magic.  Looks like I'll be
> working on a coreutils-8.5-3 today...

Since apparently that hasn't happened yet, let me add that the same
thing is not limited to files, but happens with a directory as well:

mkdir foo bar
touch bar/baz
touch bar.exe
mv bar foo
find foo

Once again, the right 'bar' is chosen by 'mv' but the .exe is
erroneously appended due to the presence of bar.exe.


Yaakov



--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019