X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <199921.18546.qm@web25006.mail.ukl.yahoo.com>
Date: Mon, 9 Mar 2009 10:18:43 +0000 (GMT)
From: Marco Atzeri <marco_atzeri@yahoo.it>
Subject: Re: Replacing setup.exe and cygcheck with dpkg (Was: Re: cygcheck   typo in both manpage and --help)
To: cygwin@cygwin.com
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


--- Lun 9/3/09, Andy Koppe ha scritto:

> Da: Andy Koppe=20
> Oggetto: Re: Replacing setup.exe and cygcheck with dpkg (Was: Re: cygchec=
k   typo in both manpage and --help)
> A: cygwin@cygwin.com
> Data: Luned=EC 9 marzo 2009, 10:55
> Spiro Trikaliotis:
> > You can replace a running exe (or dll) by doing the
> following:
> >
> > 1. rename the .DLL or .EXE
>=20
> Are you sure that's possible? I'd expect Windows to
> complain loudly at
> that point.
>=20
> Andy
>=20

It is not feasible for cygwin1.dll, you can change the name=20
and M$ will not complain but any following action=20
will crash for a program based on
cygwin1.dll.

$ mv cygwin1.dll cygwin1.dll_test

$ ls
      3 [main] bash 2660 fork: child -1 - died waiting for longjmp before i=
nitialization, retry 10, exit code 0xC0000135, errno 11
....
bash: fork: Resource temporarily unavailable


I also used that trick to replace cyglsa.dll installing
snapshots but cyglsa.dll was not in use at that time.



Regards
Marco


__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto =
spazio gratuito per i tuoi file e i messaggi=20
http://mail.yahoo.it

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

