Hi, 2011/7/23 Glynn Clements <[email protected]>: >> 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).
recently I have used strncasecmp() in db/ogr/execute.c and it's compile on Windows without any problem. > Also, strcasecmp() is affected by the locale (LC_CTYPE), while > G_strcasecmp() isn't. OK, in this case I would suggest to implement G_strncasecmp(). Martin -- Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
