[postgis-tickets] [PostGIS] #4603: Windows build failing in shp2pgsql: XError in psSHP->sHooks.FWrite()

PostGIS trac at osgeo.org
Wed Jan 29 15:33:13 PST 2020


#4603: Windows build failing in shp2pgsql: XError in psSHP->sHooks.FWrite()
----------------------------+---------------------------
  Reporter:  Algunenano     |      Owner:  pramsey
      Type:  defect         |     Status:  new
  Priority:  high           |  Milestone:  PostGIS 3.1.0
 Component:  loader/dumper  |    Version:  master
Resolution:                 |   Keywords:
----------------------------+---------------------------

Comment (by robe):

 Remarking out the extra guard condition


 {{{
     if ( psSHP->sHooks.FTell( psSHP->fpSHP ) != nRecordOffset ) {
 }}}


 seems to have fixed mingw64 issue, but haven't investigated what that
 extra condition is doing to trigger the issue. -- e.g. if it's preventing
 it from falling into the nested if or is causing something extra to be
 written to the shp.  So I'll leave this open for now until I investigate
 further.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4603#comment:7>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list