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]

Re: Problem with cp'ing executables


Christopher Faylor wrote:
> 
> On Mon, May 14, 2001 at 09:51:08AM -0400, Paul Stodghill wrote:
> >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.
> 
> Instead of "not believing" it would be tremendously helpful if you could
> verify that fact.
> 

FWIIW, this issue has always been an issue.  It has to do with stat
returning for /foo/bar when the file is actually /foo/bar.exe.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]