src/winsup/cygwin ChangeLog syscalls.cc

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Fri Nov 6 14:13:00 GMT 2009


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.

cgf

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



More information about the Cygwin mailing list