Change Setup's package search field to case-insensitive

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Fri Jun 26 16:43:00 GMT 2009


On Fri, Jun 26, 2009 at 12:16:59PM -0400, Ralph Hempel wrote:
>Corinna Vinschen wrote:
>> On Jun 26 11:57, Ralph Hempel wrote:
>>> Corinna Vinschen wrote:
>>>
>>>>> 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.
>>> Which begs the question:
>>>
>>>   Does it make sense to lowercase the finder and findee to avoid pulling
>>>   in yet another library?
>> 
>> Back to re-inventing the wheel?
>
>Not really. It's more a case of using two existing wheels that are on
>the workbench instead of going to the store to buy another one.

I'm away from a windows system right now so I can't check this for myself
by running "ldd" or "cygcheck" on setup.exe.

Do we get StrStrI for free just by referencing it or is a makefile
modification required?  I see at least one part of setup's code purports
to be using something from shlwapi.dll so, if we're already using it, I
don't see any harm in just using StrStrI.

cgf



More information about the Cygwin-apps mailing list