X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Matthew Woehlke <mw_triad@users.sourceforge.net>
Subject:  Re: [ANNOUNCEMENT] Updated: cygwin-1.5.22-1
Date:  Thu, 16 Nov 2006 10:06:15 -0600
Lines: 28
Message-ID: <eji29n$707$1@sea.gmane.org>
References:  <announce.20061114101219.GB31134@calimero.vinschen.de> <BAY109-DAV22D60BC35649CEFDA2B7DEBE90@phx.gbl>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0
In-Reply-To: <BAY109-DAV22D60BC35649CEFDA2B7DEBE90@phx.gbl>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
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

Champ Mendis wrote:
> I reinstalled the above Cygwin version. But when I run the file it 
> behaves as follow,
> 
> $ ./sensor
> /sensor: ./sensor: cannot execute binary file
> cmendis@Ranmen_Dell ~/simsens-5.0
> $ rm sensor <-REMOVED AS ADVISED BEFOFRE
> cmendis@Ranmen_Dell ~/simsens-5.0
> $ ./sensor
> cmendis@Ranmen_Dell ~/simsens-5.0
> $ ./sensor
> cmendis@Ranmen_Dell ~/simsens-5.0
> $ ./sensor<inputm <-NO OUTPUT
> cmendis@Ranmen_Dell ~/simsens-5.0

When was the last time you updated? A while back a change was made 
w.r.t. handling of .exe's (which Cygwin treats as 'missing the 
extension' in some instances). My guess is you have a 'sensor.exe' that 
is executable, and had a 'sensor' that was not. So when you did 'rm 
sensor', you removed 'sensor', and then when you do './sensor' you are 
running 'sensor.exe'.

-- 
Matthew
"What's Cygwin?" you ask.
'Tis mostly absurd software
Concerning hippos.


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

