delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/29/11:12:05

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 29 Mar 2010 18:11:39 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: coreutils-8.4-2
Message-ID: <20100329161139.GP18364@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BCC2C1D482443C4995A420541C21C057BA2F AT SLXCG02 DOT csw DOT l-3com DOT com> <4BB0CBF4 DOT 1060901 AT redhat DOT com>
MIME-Version: 1.0
In-Reply-To: <4BB0CBF4.1060901@redhat.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Mar 29 09:49, Eric Blake wrote:
> On 03/29/2010 09:39 AM, george DOT b DOT milner AT L-3com DOT com wrote:
> > $ cygcheck -c coreutils
> > Cygwin Package Information
> > Package     Version   Status
> > coreutils   8.4-2	    OK
> > 
> > $ mkdir whatever.exe
> > $ mv whatever.exe whatever
> > $ echo $?
> > 0
> > 
> > $ ls whatever
> > ls: cannot open directory whatever: No such file or directory
> > $ file whatever.exe
> > whatever.exe: directory
> 
> Thanks for the report.  Unfortunately, directory names ending in .exe
> are rarely tested, because they tend to interfere with .exe magic.  I'll
> add this to my list of things that I will look into for the next
> coreutils packaging, but no promises on a time frame.  In the meantime,
> you are better off not naming your directories with a .exe extension in
> the first place.

It's a bug in Cygwin.  I'm just looking into it.  The problem is that
automatic suffix handling is done, and this doesn't differ between
files and directories.  That's apparently wrong.  I'm just testing
a fix.


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

- Raw text -


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