Mail Archives: cygwin/2009/11/06/09:27:33
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
- Raw text -