src/winsup/cygwin ChangeLog syscalls.cc

Chris Sutcliffe ir0nh34d@gmail.com
Fri Nov 6 13:52:00 GMT 2009


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

Chris

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



More information about the Cygwin mailing list