This is the mail archive of the
mailing list for the Cygwin project.
Re: Change Setup's package search field to case-insensitive
Corinna Vinschen wrote:
> On Jun 26 10:48, Christopher Faylor wrote:
>> On Fri, Jun 26, 2009 at 02:45:48PM +0100, Dave Korn wrote:
>>> Andrew Schulman wrote:
>>>>> So, if there's no compelling reason to keep the search case-sensitive, I
>>>>> will change it to case-insensitive.
>>>> Yes, please.
>>> Seconded. Entirely sensible.
>> To address the issue of StrStri, I am surprised that msvcrt doesn't have
>> something like this but, since it doesn't, I agree that it makes sense
>> to use whatever the OS provides.
> msvcrt only supports strstr, not strcasestr, unfortunately.
You're looking for "stricmp", the non-posix name MS uses for the equivalent