Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Rolf Campbell <rcampbell@tropicnetworks.com>
Subject: Re: Problem in executable file mechanism
Date: Wed, 16 Apr 2003 11:54:56 -0400
Lines: 22
Message-ID: <b7jubb$5qe$1@main.gmane.org>
References: <3E9CB059.80905@rfk.com> <20030416032332.6675334C55@nevin.research.canon.com.au>
Reply-To: IDontLikePersonalReplies@hotmail.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
In-Reply-To: <20030416032332.6675334C55@nevin.research.canon.com.au>

luke.kendall@cisra.canon.com.au wrote:
> On 15 Apr, Larry Hall (RFK Partners, Inc.) wrote:
>> Hm.  I tried a quick check here on 1.3.22 and couldn't reproduce this. 
>> Can you put together a small test that demonstrates this and/or provide 
>> the output from strace? 
> Well, <long pause here> ... that was a lot harder than I expected!
> 
> It turns out the problem *only* manifests if the executable and
> directory are in the same directory.  Sorry, I had convinced myself
> otherwise before.
> 
> Here's how to reproduce:
> 
> 	mkdir /usr/bin/ls
> 	hash -r
> 	ls
> 
> Sorry.  Cygwin 1.3.15, Windows XP (and others); my cygcheck.out is
> attached.

I was able to reproduce using 1.3.22 (Win2000).



--
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/

