From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13655 invoked by alias); 2 Feb 2011 21:14:10 -0000 Received: (qmail 13647 invoked by uid 22791); 2 Feb 2011 21:14:09 -0000 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 Received: from Unknown (HELO simon.codemeta.com) (199.125.75.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Feb 2011 21:14:01 +0000 Received: from [192.168.1.100] (c-66-31-207-108.hsd1.nh.comcast.net [66.31.207.108]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by simon.codemeta.com (Postfix) with ESMTP id 71347708CE for ; Wed, 2 Feb 2011 16:13:53 -0500 (EST) Message-ID: <4D49C8FF.5050302@veritech.com> Date: Wed, 02 Feb 2011 21:14:00 -0000 From: Lee Rothstein 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@cygwin.com Subject: Re: directories named '...' (dotdotdot) do not work References: <20110202204556.GL2675@calimero.vinschen.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-02/txt/msg00069.txt.bz2 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