delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/15/21:59:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <ADeFaria AT Salira DOT 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 AT irsl DOT org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT 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/

- Raw text -


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