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

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 12 Feb 2004 17:05:30 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: What kind of executable is zcat? Crashes from cmd.exe
In-Reply-To: <20040212215929.GA19769@redhat.com>
Message-ID: <Pine.GSO.4.56.0402121703230.17555@slinky.cs.nyu.edu>
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>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

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

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.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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