delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/06/08:51:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20091106122925.GE26344@calimero.vinschen.de>
References: <20091105144413 DOT 31963 DOT qmail AT sourceware DOT org> <4AF30801 DOT 7090508 AT users DOT sourceforge DOT net> <20091105173450 DOT GQ26344 AT calimero DOT vinschen DOT de> <20091105180847 DOT GA1918 AT ednor DOT casa DOT cgf DOT cx> <20091105181732 DOT GB1918 AT ednor DOT casa DOT cgf DOT cx> <20091105182225 DOT GT26344 AT calimero DOT vinschen DOT de> <20091105183135 DOT GC1918 AT ednor DOT casa DOT cgf DOT cx> <20091106122925 DOT GE26344 AT calimero DOT vinschen DOT de>
Date: Fri, 6 Nov 2009 08:51:08 -0500
Message-ID: <2bf229d30911060551jeeb2f19we1b087c2f67a8632@mail.gmail.com>
Subject: Re: src/winsup/cygwin ChangeLog syscalls.cc
From: Chris Sutcliffe <ir0nh34d AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

>> >Right. =A0That's why I thought that any suffix given in the target file
>> >name should be sufficient to avoid appending the .exe suffix, but
>> >apparently it isn't. =A0Probably we would need to check for any kind
>> >of Windows executable suffix like .exe, .sys, .com. =A0I have to admit,
>> >though, that I never saw a .src suffix for a Windows binary...
>>
>> Well, in this case we could just look for alphabetic suffixes. =A0But th=
at's
>> probably too kludgy.
>
> Worth a try, at least.

What about using the PATHEXT environment variable as a source for
possible extensions?

Chris

--=20
Chris Sutcliffe
http://emergedesktop.org

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019