--- Lun 9/3/09, Andy Koppe ha scritto: > Da: Andy Koppe > Oggetto: Re: Replacing setup.exe and cygcheck with dpkg (Was: Re: cygcheck > typo in both manpage and --help) > A: cygwin@cygwin.com > Data: Lunedì 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 > > Are you sure that's possible? I'd expect Windows to > complain loudly at > that point. > > Andy >
It is not feasible for cygwin1.dll, you can change the name and M$ will not complain but any following action 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 initialization, 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 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/