[GRASS-dev] [GRASS GIS] #1173: v.surf.rst: bug in handling Output deviations vector point file

GRASS GIS trac at osgeo.org
Fri Apr 3 18:01:05 PDT 2015


#1173: v.surf.rst: bug in handling Output deviations vector point file
---------------------------------+------------------------------------------
 Reporter:  mmetz                |       Owner:  grass-dev@…              
     Type:  defect               |      Status:  new                      
 Priority:  trivial              |   Milestone:  7.1.0                    
Component:  Vector               |     Version:  svn-releasebranch64      
 Keywords:  vector, rst library  |    Platform:  All                      
      Cpu:  All                  |  
---------------------------------+------------------------------------------
Changes (by wenzeslaus):

  * priority:  normal => trivial
  * milestone:  6.4.4 => 7.1.0


Comment:

 According to analysis in this ticket, the issue is small because the
 pointer is used just to test against NULL and not to actual access to the
 memory (which would be disaster in this case). It should be fixed anyway,
 obviously.

 One possible way to go is to start by putting the code from
 `IL_init_params_2d()` to where the function is used. The function anyway
 just sets the attributes of a structure, setting them directly can be
 actually much more readable.

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



More information about the grass-dev mailing list