delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/04/08:22:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4AC89364.9080301@freesbee.fr>
Date: Sun, 04 Oct 2009 14:21:56 +0200
From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= <vincent DOT riviere AT freesbee DOT fr>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: symlinks show .exe
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hello.

I have just noticed the following behavior in Cygwin 1.5.25-15:

$ ln -s /bin/ls lls
$ ls -l lls
lrwxrwxrwx 1 vincent cygwin 11 Oct  4 14:13 lls -> /bin/ls.exe

I think the link target should not show the .exe
For example, if I make on Cygwin a tar archive containing symlinks to 
well-known executables, it will not work as expected on other OS.

As Cygwin allows referring to executables with or without .exe, in any 
context, it should be ok to remove that .exe in symlink targets.

Do you agree this is a bug and it should be fixed ?

-- 
Vincent Rivière

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