delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/04/16:19:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 4 Oct 2009 22:19:25 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: symlinks show .exe
Message-ID: <20091004201925.GL4563@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4AC89364 DOT 9080301 AT freesbee DOT fr> <db95995b0910041312g3719caech1617a68167cdb0a1 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <db95995b0910041312g3719caech1617a68167cdb0a1@mail.gmail.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
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 Oct  5 09:12, David Antliff wrote:
> 2009/10/5 Vincent Rivière <vincent DOT riviere AT freesbee DOT fr>:
> > Do you agree this is a bug and it should be fixed ?
> 
> I've got nothing to do with the code, but I am an interested observer.
> 
> In my experience, it should be possible to create symlinks to any
> arbitrary target, regardless of whether it actually exists or not.
> Therefore, if I create a symlink to "/bin/ls" then I'd expect that to
> be the content of the symlink - the automatic behaviour of rewriting
> it to "/bin/ls.exe" is unexpected and therefore probably incorrect
> according to some "standard" somewhere.

The Cygwin symlink(2) call does not add the .exe suffix, neither in
Cygwin 1.5, nor in Cygwin 1.7.  It looks like a feature of the ln(1)
tool from the Cygwin 1.5 coreutils, AFAICS.  ln(1) from the Cygwin 1.7
coreutils does also not add a .exe suffix.


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