[GRASS-dev] Re: [GRASS GIS] #496: g.rename vect=Map1,
map1 doesn't work
GRASS GIS
trac at osgeo.org
Wed Feb 18 13:17:40 EST 2009
#496: g.rename vect=Map1,map1 doesn't work
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Vector | Version: 6.4.0 RCs
Resolution: | Keywords: g.rename
Platform: Linux | Cpu: x86-32
---------------------+------------------------------------------------------
Comment (by glynn):
Replying to [comment:2 hamish]:
> mmph.
>
> how about a warning then:
>
{{{
- if (strcmp(old, new) == 0) {
+ if (strcasecmp(old, new) == 0) {
}}}
Done in r35919 (7.0). Except that it needs to be G_strcasemp(), as Windows
doesn't have strcasecmp().
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/496#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list