| www.delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=0.3 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,SPF_HELO_PASS,TW_RW,TW_VM,TW_WX |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4D49C8FF.5050302@veritech.com> |
| Date: | Wed, 02 Feb 2011 16:13:35 -0500 |
| From: | Lee Rothstein <lee AT veritech DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: directories named '...' (dotdotdot) do not work |
| References: | <loom DOT 20110201T203452-177 AT post DOT gmane DOT org> <20110202204556 DOT GL2675 AT calimero DOT vinschen DOT de> <AANLkTimZ-N+2J9FgNaaB4UgvpdPArPBrb-Njfj+OR4ir AT mail DOT gmail DOT com> |
| In-Reply-To: | <AANLkTimZ-N+2J9FgNaaB4UgvpdPArPBrb-Njfj+OR4ir@mail.gmail.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 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 '...'?
Let me take a crack at an answer:
About as good an idea as embedding spaces in PATH names!
I.e, don't do it unless Mr. Bill holds a gun to your head!
Lee
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |