[GRASS-dev] Re: [GRASS GIS] #70: imagery modules: strip @mapset part

GRASS GIS trac at osgeo.org
Sat Jun 21 05:44:47 EDT 2008


#70: imagery modules: strip @mapset part
----------------------+-----------------------------------------------------
  Reporter:  hamish   |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  default  |     Version:  svn-trunk                
Resolution:           |    Keywords:  imagery                  
----------------------+-----------------------------------------------------
Comment (by glynn):

 Replying to [comment:17 neteler]:
 > I have found a new related bug: -r of i.group fails.

 Do r31775 and r31776 help?

 G_mapset() returns a pointer to a static buffer. If you modify this
 buffer, you modify the return value for all subsequent G_mapset() calls.
 It should probably be change to "const char *" to catch this.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/70#comment:18>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list