Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Rolf Campbell Subject: Re: Problem in executable file mechanism Date: Wed, 16 Apr 2003 11:54:56 -0400 Lines: 22 Message-ID: References: <3E9CB059 DOT 80905 AT rfk DOT com> <20030416032332 DOT 6675334C55 AT nevin DOT research DOT canon DOT com DOT au> Reply-To: IDontLikePersonalReplies AT hotmail DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT 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 DOT kendall AT cisra DOT canon DOT com DOT 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, ... 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/