delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/15/13:40:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT
X-Spam-Check-By: sourceware.org
Date: Wed, 15 Sep 2010 21:36:07 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <652753750.20100915213607@mtu-net.ru>
To: Rolf Campbell <rcampbell-cygwin AT dragonwaveinc DOT com>, cygwin AT cygwin DOT com
Subject: Re: 1.7.7 ln & .exe magic
In-Reply-To: <i6qu99$2uv$1@dough.gmane.org>
References: <i6qu99$2uv$1 AT dough DOT gmane DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes
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

Greetings, Rolf Campbell!

> --------test case-------
>  From bash, in an empty directory:
> $ ln /bin/ls t
> $ ls
> t.exe
> ------------------------
> Why does the resulting hard link have a '.exe' suffix on it?  I thought 
> that cygwin .exe magic was only appending when listing a file?

It's quite expected.
If source has .exe, the target will, too, for transparent compatibility.


--
WBR,
 Andrey Repin (anrdaemon AT freemail DOT ru) 15.09.2010, <21:35>

Sorry for my terrible english...


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