delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/15/03:45:41

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, 15 Jun 2005 09:44:33 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: tcsh doesn't find commands that end with .exe
Message-ID: <20050615074433.GV3522@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <42ADA78B DOT 9040300 AT scytek DOT de> <20050613160117 DOT GC3522 AT calimero DOT vinschen DOT de> <42ADAFC9 DOT 9090401 AT scytek DOT de> <20050613163537 DOT GA11778 AT calimero DOT vinschen DOT de> <42AE20F2 DOT 4000409 AT scytek DOT de> <20050614180215 DOT GU3522 AT calimero DOT vinschen DOT de> <42AF3C72 DOT 2060009 AT scytek DOT de>
Mime-Version: 1.0
In-Reply-To: <42AF3C72.2060009@scytek.de>
User-Agent: Mutt/1.4.2i

On Jun 14 16:22, Volker Quetschke wrote:
> Corinna Vinschen wrote:
> >>(...)
> >>And all lower case, (cygwin only). Try something like this:
> >
> >Well, it seemed like a good idea way back when.  But I agree that it's
> >probably not quite contemporary anymore.
> >
> >Try the below patch.  It removes the 'all lowercase' and it allows to enter
> >all tools with exe suffix.  If that's basically what you had in mind, I'll
> >send the patch upstream and create a new Cygwin tcsh release.
> 
> Thanks for patching this! I was mainly concerned about the
> unpredictability when starting different programs ending in .exe.
> I didn't know that it was (before your patch) by design. But i like
> the new design better ;)
> 
> I found another variation of my testcase showing that the failure
> in the path hashing also happens in directories with less files
> and that it doesn't "disable" the hashing for those directories
> completely.
> 
> Unpatched standard cygwin tcsh:
> [quetschke AT Macros ~]$ which gcc.exe
> /usr/bin/gcc.exe
> [quetschke AT Macros ~]$ which whoami.exe
> whoami.exe: Command not found.
> [quetschke AT Macros ~]$ which whoami
> /usr/bin/whoami

Doesn't happen with the patched tcsh.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto: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