www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=4.2 required=5.0 tests=AWL,BAYES_20,BOTNET,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
Message-id: | <4D7A4FA0.10201@cygwin.com> |
Date: | Fri, 11 Mar 2011 11:36:48 -0500 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Compiled program does nothing when executing it under Cygwin |
References: | <31125708 DOT post AT talk DOT nabble DOT com> <31125827 DOT post AT talk DOT nabble DOT com> |
In-reply-to: | <31125827.post@talk.nabble.com> |
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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |