Problem with cp'ing executables

Paul Stodghill stodghil@cs.cornell.edu
Mon May 14 06:51:00 GMT 2001


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



More information about the Cygwin mailing list