delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/12/17:09:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 12 Feb 2004 17:08:38 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: What kind of executable is zcat? Crashes from cmd.exe
Message-ID: <20040212220838.GC19915@redhat.com>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040212153628 DOT 0393dba8 AT 127 DOT 0 DOT 0 DOT 1> <001e01c3f1b1$b93d3ed0$6401a8c0 AT RossLap> <20040212215929 DOT GA19769 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0402121703230 DOT 17555 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.56.0402121703230.17555@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

On Thu, Feb 12, 2004 at 05:05:30PM -0500, Igor Pechtchanski wrote:
>On Thu, 12 Feb 2004, Christopher Faylor wrote:
>>On Thu, Feb 12, 2004 at 03:46:44PM -0600, Ross Boulet wrote:
>>>One other caveat I have found with using hard links (on an NTFS
>>>partition) involves upgrades.  I changed the symlink for ksh.exe ->
>>>pdksh.exe to a hard link.  When an new version of pdksh was installed,
>>>it resulted in two non linked files.  I had the new version as
>>>psksh.exe and the old version as ksh.exe.
>>
>>Huh.  I wonder why that happened.  I would expect setup.exe to just
>>overwrite one file, resulting in the change being reflected in the
>>linked copy.
>>
>>I'm no longer familiar enough with setup's internals to say for sure if
>>that is what happening but it does appear that the file is being
>>deleted.  That behavior could probably be changed with an appropriate
>>PTC.
>
>AFAIK, setup has always behaved this way.  It first uninstalls the old
>versions of all packages being upgraded (that's how the old pdksh.exe
>got unlinked), and then installs the new versions (creating new files,
>essentially).  It never did overwrite the file in-place.  Changing this
>will probably involve radical modifications to setup's internal logic.

Duh.  Right.  It deletes everything first.  I knew that.

Sorry for the noise.

cgf

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