X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Fri, 6 Nov 2009 15:27:12 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: src/winsup/cygwin ChangeLog syscalls.cc
Message-ID: <20091106142712.GM26344@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20091105144413.31963.qmail@sourceware.org>  <4AF30801.7090508@users.sourceforge.net>  <20091105173450.GQ26344@calimero.vinschen.de>  <20091105180847.GA1918@ednor.casa.cgf.cx>  <20091105181732.GB1918@ednor.casa.cgf.cx>  <20091105182225.GT26344@calimero.vinschen.de>  <20091105183135.GC1918@ednor.casa.cgf.cx>  <20091106122925.GE26344@calimero.vinschen.de>  <2bf229d30911060551jeeb2f19we1b087c2f67a8632@mail.gmail.com>  <20091106141220.GC1311@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20091106141220.GC1311@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

On Nov  6 09:12, Christopher Faylor wrote:
> On Fri, Nov 06, 2009 at 08:51:08AM -0500, Chris Sutcliffe wrote:
> >>> >Right. ?That'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. ?Probably we would need to check for any kind
> >>> >of Windows executable suffix like .exe, .sys, .com. ?I 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. ?But that's
> >>> probably too kludgy.
> >>
> >> Worth a try, at least.
> >
> >What about using the PATHEXT environment variable as a source for
> >possible extensions?
> 
> It was already suggested.  It has too much "stuff" in it.
> 
> I don't like relying on a user-controlled environment variable for this
> type of thing anyway.

ACK.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

