strncasecmp

Werner Koch wk at gnupg.org
Wed May 22 12:20:01 CEST 2002


On Wed, 22 May 2002 10:34:05 +0200, Stefan Bellon said:

> So, neither strcasecmp nor strncasecmp is necessary anymore. Perhaps
> you could try with a CVS build again?

Well, a check and a replacement for strncasecmp is needed if we use it
and there are some place where strcasecmp should be used instead of
the ascii versions: Those where you actually compare against localized
strings.  I found some places where it was rightfully used but hidden
by stricmp which is just a macro to strcasecmp.  I fixed all of them
and added a strncasecmp repalcement function.

  Werner





More information about the Gnupg-devel mailing list