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 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 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/