[GRASS-dev] Re: [grass-code I] g.rename fails to rename maps
epatton at nrcan.gc.ca
Fri Feb 8 11:57:38 EST 2008
>I meant: what happens if you remove the G_strcasecmp() check (or
>replace it with strcmp()), then try it.
I finally had a chance to test this out. Replacing line 28 in /general/manage/lib/do_rename.c:
if (G_strcasecmp (old,new) == 0) return 1;
if (strcmp (old,new) == 0) return 1;
enables correct renaming for rasters, vectors, and regions.
More information about the grass-dev