Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Date: 14 May 2001 09:51:08 -0400 Message-ID: Lines: 26 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (anise) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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