www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/06/10:13:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100906132943.GC14327@calimero.vinschen.de>
References: <AANLkTikj2JyMfy-eXk2fOBzcNAWAzoKYb7s_q20hP0d7 AT mail DOT gmail DOT com> <20100906090517 DOT GA13174 AT calimero DOT vinschen DOT de> <AANLkTi=RVdbjKMjqNjw-vte+9YVbd3OXW1Mwmrw=mCJh AT mail DOT gmail DOT com> <20100906101206 DOT GA14327 AT calimero DOT vinschen DOT de> <AANLkTikcW1aKLTejm8KrVYNMg6m6BbC7sYoMMS0dRvi+@mail.gmail.com> <20100906124915 DOT GA15977 AT calimero DOT vinschen DOT de> <AANLkTinWsDBm-V-jp7tqiQbidJa7ULGo-yhNytgA8eKn AT mail DOT gmail DOT com> <20100906132943 DOT GC14327 AT calimero DOT vinschen DOT de>
Date: Mon, 6 Sep 2010 16:12:14 +0200
Message-ID: <AANLkTimz63WbBfsOYsDctVB=3tBwGTu+ZawUPfbm6U9i@mail.gmail.com>
Subject: Re: .exe magic reloaded
From: Al <oss DOT elmar AT googlemail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

> The magic is to *add* the .exe suffix automatically, not *removing* it

Aaaaaaaahhhhhh!

That is one point I missed. The magic is still more limited than I
assumed. It felt to work bidirectional.

I have tested this. The unidirectonal magic also works for symlinks,
if the symlink has the .exe suffix itself.

Back to the starting point. It follows the sysmlink should be:

/home/prefix/gentoo/usr/bin/tr.exe -> /home/prefix/gentoo/bin/tr.exe

   instead of

/home/prefix/gentoo/usr/bin/tr -> /home/prefix/gentoo/bin/tr.exe

Then it would proxy all available .exe magic and even Perls
"Configure" would work.

This means that not only the Perl package but also my Coreutils
package should be optimized.

> when you specified it wrongly. =A0If you think that further, you would
> also expect that I can open a file foo.txt by calling `vim foo.txt.exe'.

If foo.txt is not executable it would not be expanded.

Thank you very much Corinna

Al

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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