delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/14/04:05:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 14 Sep 2005 10:04:18 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: tcsh can't find executables in Path with "wrong" case
Message-ID: <20050914080418.GR5555@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <091420050239 DOT 16069 DOT 43278D5E0005121300003EC522007613940A050E040D0C079D0A AT comcast DOT net>
Mime-Version: 1.0
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/

- Raw text -


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