delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/01/10:01:05

X-Spam-Check-By: sourceware.org
Message-ID: <463747BC.3050002@cwilson.fastmail.fm>
Date: Tue, 01 May 2007 09:59:24 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [Ping Python maintainer]: enhancement request
References: <f137va$5ar$1 AT sea DOT gmane DOT org> <20070501120623 DOT GA3824 AT tishler DOT net> <20070501133951 DOT GB17841 AT trixie DOT casa DOT cgf DOT cx>
In-Reply-To: <20070501133951.GB17841@trixie.casa.cgf.cx>
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

Christopher Faylor wrote:
> Before you do this, I have a question.  Why is this important now when you've
> apparently been doing this for many years?  This isn't the only package which
> makes symlinks to executables.  And, since, AFAIK, setup.exe doesn't understand
> hard links it means that you really do have to make a copy.  If you make a copy
> you stand the chance of having python.exe out of sync with the thing that it is
> supposed to be pointing to.
> 
> If it was a general Cygwin policy to always make copies, I could see changing
> Python.  But, again, since it isn't, I don't see why python should be unique.

Because python is a command interpreter, and therefore likely to be 
invoked directly from the windows environment -- unlike, say, egrep. 
Similarly, sh.exe is a copy of bash.exe (and used to be a copy of 
ash.exe) -- and not a symlink.

I think this copy (or hardlink) should be performed by a postinstall 
script -- again, just like sh.exe is updated by bash packages.

--
Chuck

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