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]

executable extension?




I didn't see this in the FAQ (maybe I'm just blind) but I've
noticed the following:

$ cp du.exe du
cp: 'du.exe' and 'du' are the same file

In stepping through the code, I see that this is the result of
the:

  same = (SAME_INODE(src_sb, dst_sb));

statement in copy.c

I guess I'm trying to understand why stat() sees filename.exe
and filename as the same file :-(

jerry
Jerry Heyman   919.224.1442    | IBM SWG/Tivoli Software |"Software is the 
Build Infrastructure Architect | 3901 S Miami Blvd       | difference between
jheyman@dev.tivoli.com         | RTP, NC  27709          | hardware and reality"
                     http://www.acm.org/~heymanj

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]