This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: src/winsup/cygwin ChangeLog syscalls.cc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]