delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/14/09:51:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin AT sources DOT redhat DOT com
Subject: Problem with cp'ing executables
From: Paul Stodghill <stodghil AT cs DOT cornell DOT edu>
Date: 14 May 2001 09:51:08 -0400
Message-ID: <yz1d79cavjn.fsf@milhouse.cs.cornell.edu>
Lines: 26
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (anise)
MIME-Version: 1.0

I see a strange bug when trying to copy an executable from one directory to
another.

If the command "cp /dir/exec-name /dir2/exec-name" is used, the copy fails
with an error message that the two files "are the same file". But,
"cp /dir/exec-name.exe /dir2/exec-name.exe" works.

I don't believe this was a problem with 1.1.8, but it is a problem with
1.3.1 and with 5/13 snapshot.

Thanks.

    milhouse$ uname -a
    CYGWIN_NT-5.0 MILHOUSE 1.3.1(0.38/3/2) 2001-04-24 20:01 i686 unknown
    milhouse$ cp -f /bin/cat /tmp/cat
    /bin/cp: `/bin/cat' and `/tmp/cat' are the same file
    milhouse$ cp -f /bin/cat.exe /tmp/cat
    milhouse$ cp -f /bin/cat /tmp/cat.exe
    /bin/cp: `/bin/cat' and `/tmp/cat.exe' are the same file
    milhouse$ cp -f /bin/cat.exe /tmp/cat.exe
    milhouse$ cp -f /bin/cat /tmp/
    /bin/cp: `/bin/cat' and `/tmp/cat' are the same file
    milhouse$ cp -f /bin/cat.exe /tmp/
    milhouse$ echo $CYGWIN
    ntea ntsec nosmbntsec tty
    milhouse$ 


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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