delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/09/05:19:00

X-Recipient: archive-cygwin AT delorie DOT 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 AT yahoo DOT it>
Subject: Re: Replacing setup.exe and cygcheck with dpkg (Was: Re: cygcheck typo in both manpage and --help)
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
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

--- 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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019