delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/23/23:37:19

X-Spam-Check-By: sourceware.org
Date: Tue, 23 Jan 2007 20:36:52 -0800
From: Christopher Layne <clayne AT anodized DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ln -s exe magic (coreutils 6.7-2)
Message-ID: <20070124043651.GF25379@ns1.anodized.com>
References: <011701c73f43$3d07d270$3e0010ac AT wirelessworld DOT airvananet DOT com>
Mime-Version: 1.0
In-Reply-To: <011701c73f43$3d07d270$3e0010ac@wirelessworld.airvananet.com>
User-Agent: Mutt/1.5.11
X-Assp-Spam-Prob: 0.00000
X-Assp-Whitelisted: Yes
X-Assp-Envelope-From: clayne AT ns1 DOT anodized DOT com
X-Assp-Intended-For: cygwin AT cygwin DOT com
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

On Tue, Jan 23, 2007 at 06:07:17PM -0500, Pierre A. Humblet wrote:
> /usr/sbin: ls -l sendmail*
> lrwxrwxrwx 1 p-humblet sw 13 Jan 23 17:40 sendmail -> /usr/bin/exim*
> lrwxrwxrwx 1 p-humblet sw 19 Jan 23 17:29 sendmail.exe -> /usr/sbin/ssmtp.exe*
> 
> so that the commands "sendmail" and "sendmail.exe" produce different results,
> cron keeps using exim and if  exim is uninstalled then cron misbehaves.
> 
> My suggestion is that by default ln -s should not do any magic. If some magic is
> desired, users can define an alias or shell function that adds --enable-exe-magic
> 
> Pierre

Probably just an oversight (in regards to symlinks) in the code handling .exe
vs extentionless executables. It's there to allow both options for an executable to
be named. I'm sure Corinna or Christopher will know what the deal is.

-cl

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

- Raw text -


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