delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/14/16:22:47

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
Message-ID: <42AF3C72.2060009@scytek.de>
Date: Tue, 14 Jun 2005 16:22:10 -0400
From: Volker Quetschke <quetschke AT scytek DOT de>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: tcsh doesn't find commands that end with .exe
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>
In-Reply-To: <20050614180215.GU3522@calimero.vinschen.de>
X-IsSubscribed: yes

--------------enigCCD78096D876A0855848707F
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

This doesn't "feel" like a cygwin bug, but cygwin's tcsh
makes it easier to find it. I'll try to write a consistent
bug-report to the tcsh people.

Thanks

     Volker

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

--------------enigCCD78096D876A0855848707F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCrzx8PTXJup+KeF0RAmTEAKCT/8pzhcNhL5+sIp8oamR6Pu2yXQCdH2Dy
CZGu57MYk3E9hsemlXMyR8Q=
=1hN8
-----END PGP SIGNATURE-----

--------------enigCCD78096D876A0855848707F--

- Raw text -


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