X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=AWL,BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <31125827.post@talk.nabble.com>
Date: Fri, 11 Mar 2011 07:09:38 -0800 (PST)
From: Mengsk <tmp1@rcmd.org>
To: cygwin@cygwin.com
Subject: Re: Compiled program does nothing when executing it under Cygwin
In-Reply-To: <31125708.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <31125708.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Hello again,

I solved the problem already, sorry for the noise. Describing a problem to
others often helps yourself if you do it properly I guess. ;)


Mengsk wrote:
> 
> I've been using Cygwin for a few weeks to develop C programs under Windows
> XP. Since yesterday evening, various programs don't do anything anymore
> under Cygwin when I execute them though. The last thing I remember doing
> was installing rsync into Cygwin, other packages were upgraded as well
> during that operation I think.
> 

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

Greetings,

spirit

-- 
View this message in context: http://old.nabble.com/Compiled-program-does-nothing-when-executing-it-under-Cygwin-tp31125708p31125827.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

