Francesco P. Lovergine wrote:

> > where strcmp was replaced with G_strcasecmp, thus making the compare 
> > case independent. So, the line should not be removed, but it should 
> > either be reverted to strcmp, or we need G_strcmp, which doesn't exist 
> > at this stage AFAICT.
> >
> 
> Just curious, what's the point in having wrappers for two POSIX
> functions like them?

I suspect that G_strcasecmp() was originally added because GRASS ran
on systems which pre-dated the addition of strcasecmp() to POSIX. It
needs to remain, as Windows doesn't have strcasecmp().

There wouldn't be any point in having a G_strcmp() function.

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to