Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Mon, 14 May 2001 13:31:11 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: Problem with cp'ing executables
Message-ID: <20010514133111.A9139@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <yz1d79cavjn.fsf@milhouse.cs.cornell.edu> <20010514125855.A8574@redhat.com> <3B0014E3.4DC3CFC2@yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <3B0014E3.4DC3CFC2@yahoo.com>; from earnie_boyd@yahoo.com on Mon, May 14, 2001 at 01:24:51PM -0400

On Mon, May 14, 2001 at 01:24:51PM -0400, Earnie Boyd wrote:
>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.

But the "same file" distinction should be based on inodes, I believe and
the inodes should be different in this case.

I would just expect a different error message than "are the same file".

cgf

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

