[GRASS-dev] Re: [GRASS GIS] #1284: 'v.vol.rst --help' fails

GRASS GIS trac at osgeo.org
Thu Feb 24 10:32:08 EST 2011


#1284: 'v.vol.rst --help' fails
-----------------------+----------------------------------------------------
 Reporter:  torben     |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  major      |   Milestone:  6.4.1                    
Component:  Vector     |     Version:  6.4.0                    
 Keywords:  v.vol.rst  |    Platform:  Linux                    
      Cpu:  x86-64     |  
-----------------------+----------------------------------------------------

Comment(by marisn):

 Markus, on my system there is a "SPLITDEBUG" feature + recompilation. I
 migh be rm'ing debug data to free some disk space ;)

 Problem is here:
 source:grass/branches/releasebranch_6_4/vector/v.vol.rst/main.c#L225
 "dminchar" is defined to have length of 10, still on my system somtimes
 "dmin" is longer than 10. Easy workaround - bump up dminchar to anything
 large enough (1000). Correct solution - analyze code and see if it's
 required at all.
 {{{
 sprintf(dminchar, "%lf", dmin);
 }}}

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



More information about the grass-dev mailing list