delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/26/12:22:24

X-Spam-Check-By: sourceware.org
Message-ID: <45910426.9030603@tlinx.org>
Date: Tue, 26 Dec 2006 03:14:46 -0800
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Updated cygwin dlls cause unnecessary reboot on NT
References: <458EE598 DOT 3010404 AT aim DOT com> <458F31B1 DOT 6050804 AT byu DOT net> <458F81CC DOT 3090500 AT tlinx DOT org> <458FDC4E DOT 9040505 AT cygwin DOT com> <458FEC2E DOT 70705 AT tlinx DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0612251346240 DOT 27982 AT access1 DOT cims DOT nyu DOT edu> <45902BC4 DOT 50803 AT tlinx DOT org> <4590BD4E DOT 5020905 AT cygwin DOT com>
In-Reply-To: <4590BD4E.5020905@cygwin.com>
X-IsSubscribed: yes
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


Larry Hall (Cygwin) wrote:
> On 12/25/2006, Linda Walsh wrote:
>>     FWIW, I have replaced the libs like cygwin1.dll, cygintl?.dll...
>> and such while cygwin is running and not had a catastrophe as one 
>> might have
>> trying to overwrite/update the memory image of a kernel dynamically, 
>> so I
>> don't think it's quite all the end of the world you make it out to 
>> be.  But
>> I admit it doesn't sound clean. 
>
> It's more than that regardless of your (lucky) experiences.  It is that
> way for a reason, whether or not you know or understand it.  However, if
> your short-cut works well for you in your usage, more power to you.  It
> can't be advocated as a general solution for cygwin1.dll though.
My saying it doesn't sound "clean" is agreement on this issue.

> It's also worthwhile to note that the Cygwin web site still states that
> "The Cygwin DLL works with all non-beta, non "release candidate", ix86 32
> bit versions of Windows since Windows 95, with the exception of 
> Windows CE."
> So regardless of how XP and later platforms may handle DLL replacements,
> 'setup.exe' still needs to handle the cases prior to the more advanced
> techniques you mention.  For now, that means 'setup.exe' works as it
> always has, until someone offers a patch to make it more discriminating.
> That someone could be you! ;-)
----
    The fix I proposed has nothing to do with the cygwin1.dll.  As has
been covered previously, since cygwin1.dll and a few other libs are
part of the cygwin "kernel", special handling may be needed to upgrade
those dll's.  What can be fixed is the installation of .exe and .dll 
files for
applications.  The behavior of those should be the same as replacing
in-use .so's and executables on *nix.

    Just because something hasn't been tested on unprotected-mode windows
(95, 98, ME) doesn't mean something might not work.  However, one of
the features of WinXP was the ability to install applications without the
requirement of rebooting.  Most applications handle this difference
transparently -- as could Cygwin.  I.e. cygwin could access the more
modern install features of NT when on NT, and use the older methods
(assuming the new methods don't work) on older platforms. 

    As for needing a patch -- as Igor has said, "everyone knows how
to implement this": it's not exactly rocket science to implement. 

-l


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