[GRASS-dev] Re: [GRASS GIS] #392: backport G_is_c_null_value() to devbr6

GRASS GIS trac at osgeo.org
Wed Dec 17 11:19:42 EST 2008


#392: backport G_is_c_null_value() to devbr6
----------------------+-----------------------------------------------------
  Reporter:  hamish   |       Owner:  grass-dev at lists.osgeo.org
      Type:  task     |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  default  |     Version:  svn-develbranch6         
Resolution:           |    Keywords:                           
  Platform:  All      |         Cpu:  All                      
----------------------+-----------------------------------------------------
Comment (by glynn):

 Replying to [comment:3 hamish]:

 > For rc2, to completely replace null_val.c or not? I am still a bit
 unsure- is there actually a bug in the current devbr6 version or is the
 idea to keep the methods in sync to ease future maintenance?

 It's just clean-up. The existing code is just unnecessarily complex:
 testing whether a value is equal to 0x80000000 by first ensuring that some
 other function has initialised a variable to that value then comparing the
 two byte-by-byte.

 Actually, I was wrong about r34747 not applying without r34484. So you can
 use:
 {{{
 svn merge -c 34445,34446,r34747
 https://svn.osgeo.org/grass/grass/trunk/lib/gis/null_val.c
 lib/gis/null_val.c
 }}}

 to merge everything except the prototype changes.

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


More information about the grass-dev mailing list