www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/06/06:12:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 6 Sep 2010 12:12:06 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: .exe magic reloaded
Message-ID: <20100906101206.GA14327@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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>
MIME-Version: 1.0
In-Reply-To: <AANLkTi=RVdbjKMjqNjw-vte+9YVbd3OXW1Mwmrw=mCJh@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

On Sep  6 11:53, Al wrote:
> It does not:
> 
> > It does:
> >
> >  $ cd tmp
> >  $ mkdir dir1 dir2
> >  $ cp /bin/echo.exe dir1
> >  $ ln -s `pwd`/dir1/echo.exe dir2/echo
> >  $ ls -l dir*
> >  dir1:
> >  total 52
> >  -rwxr-xr-x 1 corinna vinschen 49166 2010-09-06 10:59 echo.exe
> >
> >  dir2:
> >  total 1
> >  lrwxrwxrwx 1 corinna vinschen 31 2010-09-06 11:00 echo -> /home/corinna/tmp/dir1/echo.exe
> >  $ dir2/echo hello
> >  hello
> >  $ /home/corinna/tmp/dir2/echo hello
> >  hello
> >
> 
> $ /home/corinna/tmp/dir2/echo.exe hello
> bash: /home/corinna/tmp/dir2/echo.exe: No such file or directory
> 
> That's what Perls "Configure" does. Still the magic works only in the
> target directory, but not on the level of the symlink itself.

Uh, I see.  That's a bug in perl's Configure.  It shouldn't use the
.exe suffix at all.


Corinna

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

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