delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/13/13:10:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <200111131810.MAA21270@devmail.dev.tivoli.com>
To: cygwin AT cygwin DOT com
Reply-To: jheyman AT dev DOT tivoli DOT com
Subject: executable extension?
Date: Tue, 13 Nov 2001 13:10:01 -0500
From: (Jerry Heyman) <jerry AT dev DOT tivoli DOT com>


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 AT dev DOT tivoli DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019