[GRASS-dev] G_strcasecmp() in GRASS 7

Glynn Clements glynn at gclements.plus.com
Fri Jul 22 23:28:03 EDT 2011


Martin Landa wrote:

> do we need our own G_strcasecmp()? Bearing in mind that libc offers
> strcasecmp() and strncasecmp().

Windows doesn't have these (it has stricmp and/or strcmpi instead). 
Also, strcasecmp() is affected by the locale (LC_CTYPE), while
G_strcasecmp() isn't.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list