Compiled program does nothing when executing it under Cygwin

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Mar 11 16:41:00 GMT 2011


On 3/11/2011 10:09 AM, Mengsk wrote:
> When checking for the 'cygwin1.dll' file in C:\cygwin\bin, I discovered that
> there also was a file named 'cygwin1.dll.new' in there. I made a backup of
> my cygwin1.dll, deleted it and renamed the 'cygwin1.dll.new' file to
> 'cygwin1.dll'. Then I recompiled my program and now everything works fine.
>
> I have no idea what changed/renamed the files in the first place though...

'setup.exe' did this.  You updated via 'setup.exe' but had some Cygwin
process(es) running when you did so.  The 'cygwin' package needed updating but
the DLL cannot be replaced while it's in use.  You should have received a
warning about this from 'setup.exe', giving you the option to shut down
the outstanding Cygwin process(es).  'setup.exe' will continue if you don't
shut down the process(es) but it will schedule the replacement of cygwin1.dll
at the next reboot.  It names the new DLL that it will move into place
on reboot 'cygwin1.dll.new'.  It then provides a message that you need to
reboot to complete the installation.

-- 
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list