Skip to main content.
home | support | download

Back to List Archive

Re: Re: Status of PHRASE search

From: David Norris <dave(at)>
Date: Wed Apr 19 2000 - 21:31:25 GMT
SRE wrote:
> >From the Unix man page:
>   strcmp() and  strncmp()  use  native  character  comparison...
>      implementation-dependent.
>   strcasecmp() and strncasecmp()  use  native  character  com-
>      parison as above and assume the ASCII character set.

So, we may be able to use strcmp in place of strcasecmp on Windows? 
That looked like a viable option from what I could tell.  The man page
in Linux didn't mention that strcmp is implementation dependant.  In
Linux, strcmp and strcasecmp appear to be the same.

If so, would this be reasonable?
#ifdef _WIN32
#define strcasecmp strcmp

,David Norris
  Open Server Architecture Project -
  Dave's Web -
  Dave's Weather -
  ICQ Universal Internet Number - 412039
  E-Mail -
Received on Wed Apr 19 14:30:52 2000