Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 14 Sep 2005 10:04:18 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: tcsh can't find executables in Path with "wrong" case
Message-ID: <20050914080418.GR5555@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <091420050239.16069.43278D5E0005121300003EC522007613940A050E040D0C079D0A@comcast.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <091420050239.16069.43278D5E0005121300003EC522007613940A050E040D0C079D0A@comcast.net>
User-Agent: Mutt/1.4.2i

On Sep 14 02:39, Eric Blake wrote:
> > It's clearly something to do with the path hashing, as unhashing fixes 
> > this problem (typing "unhash" at the command prompt).  And "bash" 
> > doesn't seem to have this problem (I guess it doesn't hash things).
> 
> Just to avoid the spread of misinformation, bash also does hashing,
> but it doesn't try to do case insensitive hashing.  tcsh really is
> doing something different under the hood than bash.

Just to avoid the spread of misinformation, tcsh also doesn't use
case insensitive hashing.  It used to convert the hash table to
all lower case, see
http://sourceware.org/ml/cygwin-announce/2005-06/msg00007.html

This has been reverted in 6.14.00-4 so that the case is now taken as is
again.  See the discussion taking place in
http://cygwin.com/ml/cygwin/2005-06/msg00559.html

Cygwin tcsh does not share its hashing code with the Win32 version, it
uses the same code as all other OSes are using.  No other OS is using
case insensitive hashing, so doesn't Cygwin tcsh.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

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

