[GRASS-dev] Re: [GRASS GIS] #70: imagery modules: strip @mapset part
GRASS GIS
trac at osgeo.org
Sat Jun 21 05:49:33 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:18 glynn]:
> 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.
Oops; that's incorrect. G_mapset() actually checks that the value hasn't
changed.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/70#comment:19>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list