[SCM] PostGIS branch master updated. 3.4.0rc1-968-g5e728c189
git at osgeo.org
git at osgeo.org
Mon Mar 4 08:57:26 PST 2024
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, master has been updated
via 5e728c189b0808bf8b40a16bf09099691e41a255 (commit)
from 19b34383bc2bb5b824a8c970d8acf8984688ab3e (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 5e728c189b0808bf8b40a16bf09099691e41a255
Author: Sandro Santilli <strk at kbt.io>
Date: Mon Mar 4 17:57:05 2024 +0100
Do not return a failure when handling truncation in long field names
diff --git a/loader/shpcommon.c b/loader/shpcommon.c
index 38e90e460..85a5ed2dd 100644
--- a/loader/shpcommon.c
+++ b/loader/shpcommon.c
@@ -274,13 +274,13 @@ colmap_read(const char *filename, colmap *map, char *errbuf, size_t errbuflen)
map->dbffieldnames[curmapsize]);
if ( ret < 0 ) {
/* output error - TODO: report via perror? */
+ fclose(fptr);
return 0;
}
if ( errbuflen <= (size_t)ret ) {
/* output truncated */
errbuf[errbuflen-1] = '\0';
}
- return 0;
}}
++curmapsize;
-----------------------------------------------------------------------
Summary of changes:
loader/shpcommon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list