delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/08/03:19:53

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
Date: Wed, 8 Oct 2003 03:19:26 -0400 (EDT)
From: <librik AT panix DOT com>
Message-Id: <200310080719.h987JQl15435@panix1.panix.com>
To: cygwin AT cygwin DOT com
Subject: Bug: cp fails to treat foo as foo.exe (1.5.5-1)

SUMMARY:
In the latest version of Cygwin (1.5.5-1) the cp command has stopped
aliasing .exe files (e.g. foo.exe) to their .exe-less counterparts (e.g.
foo).  An odd error message is printed instead.  This is documented to
work.  (cf. http://cygwin.com/cygwin-ug-net/using-specialnames.html )
This feature worked correctly in earlier versions of Cygwin, e.g. 1.3.22-1.

HOW TO REPRODUCE:
   Download, install, and start Cygwin 1.5.5-1.
     (My system: Windows XP SP1.  DOS-type newlines selected in Setup.
      Default shell is bash.)
   Execute the following commands:
      mkdir foo
      touch foo/bar.exe
      cp foo/bar bar
   See the error message:
      cp: 'foo/bar' and 'bar' are the same file

WHAT IS EXPECTED:
   bar.exe should be copied to the current directory.
   (This is what happens in Cygwin 1.3.22-1.)

Hope you can get this fixed for the next release.

Thanks,

- David Librik
librik AT panix DOT com

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