This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
HiWhy would you think that you can cp t as just "t" but you'd have to touch "t.exe"? The real name of the the file is t.exe, for touch, cp, rm, etc. The only time that just "t" suffices is for exec.
Since upgrading cygwin a few days ago, I can no longer cp .exe files if I don't use the .exe suffix. I can reproduce this as follows:
$ mkdir a $ touch t.exe $ cp t a cp: `t' and `a/t' are the same file $ cp t somenonexistingfilename cp: 't' and 'somenonexistingfilename' are the same file
I also have a problem with rm (and maybe others)
$ rm t rm: cannot unlink `t': No such file or directory
Note that as soon as I add the .exe suffix, everthing works fine $ cp t.exe a
-- Do witches run spell checkers?
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |