X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0	tests=AWL,BAYES_00,SPF_HELO_PASS,TW_RW,TW_VM,TW_WX,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject: Re: directories named '...' (dotdotdot) do not work
Date: Wed, 02 Feb 2011 16:18:14 -0500
Lines: 64
Message-ID: <iichmm$bu5$1@dough.gmane.org>
References: <loom.20110201T203452-177@post.gmane.org>	<20110202204556.GL2675@calimero.vinschen.de> <AANLkTimZ-N+2J9FgNaaB4UgvpdPArPBrb-Njfj+OR4ir@mail.gmail.com> <4D49C8FF.5050302@veritech.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15pre) Gecko/20110201 Lightning/1.0b2 Shredder/3.1.9pre
In-Reply-To: <4D49C8FF.5050302@veritech.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 02/02/2011 04:13 PM, Lee Rothstein wrote:
> On 2/2/2011 3:51 PM, marco atzeri wrote:
>
> > On Wed, Feb 2, 2011 at 9:45 PM, Corinna Vinschen  wrote:
>
> >> On Feb  1 19:37, Ralf Wildenhues wrote:
>
> >>> The following fails for me (and web and list search haven't been 
> helpful):
>
> >>> $ mkdir ...
> >>> $ cd ...
> >>> $ cp /usr/bin/ls.exe .
> >>> $ ./ls.exe
> >>> bash: ./ls.exe: No such file or directory
>
> >>> Same with code compiled in this directory.
>
> >>> Is this a bug or by design?
>
> >> Works fine for me:
>
> >>  $ uname -a
> >>  CYGWIN_NT-6.1 vmbert7 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
> >>  $ cd tmp
> >>  $ mkdir ...
> >>  $ cd ...
> >>  $ cp /usr/bin/ls.exe .
> >>  $ ./ls
> >>  ls.exe
>
> >> I tried on NTFS, Samba and NFS.
>
> >> Corinna
>
> > not working also here:
>
> > $ uname -a
> > CYGWIN_NT-5.1 1.7.8s(0.235/5/3) 20110130 23:04:08 i686 Cygwin
>
> > $ ./ls.exe
> > bash: ./ls.exe: No such file or directory
>
> > $ ./ls
> > bash: ./ls: No such file or directory
>
> > $ ls -l
> > total 128
> > -rwxr-xr-x+ 1 Marco Administrators 129550 Feb  2 20:55 ls.exe
>
> Works for me on NTFS.
>
>     $ uname -a
>     CYGWIN_NT-6.0-WOW64 GW2 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
>
> Conceivably, this could be a bug that might be important, but I
> have to ask:
>
>     How good an idea is it to name a directory '...'?
It's a supported directory name in that it is allowed. As such, if not 
working, it a bug. This is regardless if it's a good idea or not.
-- 
Andrew DeFaria <http://defaria.com>
Is it my imagination, or do buffalo wings taste like chicken?


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

