Replacing setup.exe and cygcheck with dpkg (Was: Re: cygcheck typo in both manpage and --help)

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Mar 9 10:22:00 GMT 2009


On Mar  9 09:55, Andy Koppe wrote:
> 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.

You can in theory, but that won't work reliably for subsequent Cygwin
processes.  If you replace a running processes' executable with a new
release, and if that process is one of the forking kind, every
subsequent call to fork() will break.  If you replace the Cygwin DLL
with a new release on the fly, then *any* subsequent fork() will almost
surely break.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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



More information about the Cygwin mailing list