Change Setup's package search field to case-insensitive

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Jun 26 15:23:00 GMT 2009


On Jun 26 16:26, Dave Korn wrote:
> 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.
> >> Ditto.
> >>
> >> 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
> functionality.

stricmp == strcasecmp
stricmp != strcasestr


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-apps mailing list