Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Andrew DeFaria <ADeFaria@Salira.com>
Subject: Re: Problems with .exe files
Date: Wed, 15 Oct 2003 19:02:18 -0700
Lines: 29
Message-ID: <bmku23$irh$1@sea.gmane.org>
References: <000201c3937f$a3fd6c10$5b08c69b@irsl.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
In-Reply-To: <000201c3937f$a3fd6c10$5b08c69b@irsl.org>

Kris Thielemans wrote:

>Hi
>
>Since upgrading cygwin a few days ago, I can no longer cp .exe files if I don't use the .exe suffix. I can reproduce this as follows:
>
>$ mkdir a
>$ touch t.exe
>$ cp t a
>cp: `t' and `a/t' are the same file
>$ cp t somenonexistingfilename
>cp: 't' and 'somenonexistingfilename' are the same file
>
>I also have a problem with rm (and maybe others)
>
>$ rm t
>rm: cannot unlink `t': No such file or directory
>
>
>Note that  as soon as I add the .exe suffix, everthing works fine
>$ cp t.exe a
>
Why would you think that you can cp t as just "t" but you'd have to 
touch "t.exe"? The real name of the the file is t.exe, for touch, cp, 
rm, etc. The only time that just "t" suffices is for exec.

-- 
Do witches run spell checkers?



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

