#496: g.rename vect=Map1,map1 doesn't work
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  [email protected]
      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>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to