[GRASS-dev] [GRASS GIS] #3079: shapelib/DBF driver: re-sync to GDAL/OGR needed

GRASS GIS trac at osgeo.org
Sun Dec 4 23:39:41 PST 2016


#3079: shapelib/DBF driver: re-sync to GDAL/OGR needed
--------------------------+---------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  task         |     Status:  new
  Priority:  major        |  Milestone:  7.4.0
 Component:  Database     |    Version:  svn-trunk
Resolution:               |   Keywords:  dbf, shapelib
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------

Comment (by mmetz):

 Replying to [comment:4 rouault]:
 > I've just resync'ed shapelib CVS from GDAL and make various fixes to
 compile in standalone mode (likely similar to yours). See
 http://lists.maptools.org/pipermail/shapelib/2016-December/000627.html
 >
 > Looking at r69890, the following is incorrect:
 > {{{
 > +#define CPL_IGNORE_RET_VAL_INT(ret_val_int)    return
 > }}}

 I noticed that too after comparing GDAL shapelib with standalone shapelib.
 CPL_IGNORE_RET_VAL_INT is used only once, so I have already replaced in
 r69892

 {{{
     CPL_IGNORE_RET_VAL_INT(DBFFlushRecord( psDBF ));
 }}}

 with
 {{{
     DBFFlushRecord( psDBF );
 }}}

 as in standalone shapelib. Thanks for reviewing the changes!

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



More information about the grass-dev mailing list