This is the mail archive of the cygwin-apps 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: Change Setup's package search field to case-insensitive

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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