delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/15/05:39:15

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
Message-Id: <200310150940.KAA04713@aps5.ph.bham.ac.uk>
Date: Wed, 15 Oct 2003 10:38:01 +0100 (BST)
From: "Dr.D.J.Picton" <dave AT aps5 DOT ph DOT bham DOT ac DOT uk>
Reply-To: "Dr.D.J.Picton" <dave AT aps5 DOT ph DOT bham DOT ac DOT uk>
Subject: Odd error message from cp and mv when omitting .exe suffix
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

I have noticed an oddity in the behaviour of the cp command.  It gives
an incorrect error message when I try to copy an .exe file but refer to it
without the .exe suffix:

cp calc /usr/local/bin/calc.new

This produces the incorrect message:

cp: calc and /usr/local/bin/calc.new are the same file.

The mv command also shows the bug.






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