[postgis-tickets] [SCM] PostGIS branch main updated. 3.2.0alpha1-38-g7b3f100

git at osgeo.org git at osgeo.org
Tue Sep 28 12:46:11 PDT 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, main has been updated
       via  7b3f1003abc2cf0a54f41f6b42b3fbfd65b6d336 (commit)
      from  016b9115eb87b3d3b46e009d8e78aa873a829890 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7b3f1003abc2cf0a54f41f6b42b3fbfd65b6d336
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Sep 28 13:08:41 2021 +0200

    Revert "Harmonize with old behaviour."
    
    This reverts commit 595f840ebc479657adac9143cfaf890faba72f99.
    
    Fixes #4994

diff --git a/loader/dbfopen.c b/loader/dbfopen.c
index f21c161..32d11a0 100644
--- a/loader/dbfopen.c
+++ b/loader/dbfopen.c
@@ -1750,7 +1750,7 @@ int SHPAPI_CALL DBFIsRecordDeleted( DBFHandle psDBF, int iShape )
 /* -------------------------------------------------------------------- */
 /*	Have we read the record?					*/
 /* -------------------------------------------------------------------- */
-    if( psDBF->nRecords > 0 && !DBFLoadRecord( psDBF, iShape ) )
+    if( !DBFLoadRecord( psDBF, iShape ) )
         return FALSE;
 
 /* -------------------------------------------------------------------- */

-----------------------------------------------------------------------

Summary of changes:
 loader/dbfopen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list