X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4D7A4FA0.10201@cygwin.com> References: <31125708 DOT post AT talk DOT nabble DOT com> <31125827 DOT post AT talk DOT nabble DOT com> <4D7A4FA0 DOT 10201 AT cygwin DOT com> Date: Mon, 14 Mar 2011 09:40:49 +0100 Message-ID: Subject: Re: Compiled program does nothing when executing it under Cygwin From: Csaba Raduly To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Fri, Mar 11, 2011 at 5:36 PM, Larry Hall (Cygwin) wrote: > 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 fin= e. >> >> I have no idea what changed/renamed the files in the first place though.= .. > > 'setup.exe' did this. =A0You updated via 'setup.exe' but had some Cygwin > process(es) running when you did so. =A0The 'cygwin' package needed updat= ing > but > the DLL cannot be replaced while it's in use. =A0You should have received= a > warning about this from 'setup.exe', giving you the option to shut down > the outstanding Cygwin process(es). Unfortunately, the warning is not displayed if setup.exe is run with the -M switch :( Csaba --=20 GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torv= alds "People disagree with me. I just ignore them." -- Linus Torvalds -- 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