[postgis-tickets] [SCM] PostGIS branch main updated. 3.2.0alpha1-23-g9042ee9
git at osgeo.org
git at osgeo.org
Fri Sep 24 13:30:12 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 9042ee9fae5f7350cd3b2cd6798fb24e093719c7 (commit)
from 5b3b6acb8173488fbf768191b5bc2beb53beb0ce (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 9042ee9fae5f7350cd3b2cd6798fb24e093719c7
Author: Sandro Santilli <strk at kbt.io>
Date: Fri Sep 24 22:01:50 2021 +0200
Revert the LWDEBUGGF change, it was NOT bogus
Rather, fix the caller, which was passing a too short format
for an identifier of an edge, resulting in 0 being found next
by the formatter when looking for a string
diff --git a/liblwgeom/lwgeom_log.h b/liblwgeom/lwgeom_log.h
index f443de6..feb2ac5 100644
--- a/liblwgeom/lwgeom_log.h
+++ b/liblwgeom/lwgeom_log.h
@@ -72,7 +72,7 @@
size_t sz; \
char *wkt = lwgeom_to_wkt(geom, WKT_EXTENDED, 15, &sz); \
/* char *wkt = lwgeom_to_hexwkb(geom, WKT_EXTENDED, &sz); */ \
- LWDEBUGF(level, fmt ": " wkt, __VA_ARGS__); \
+ LWDEBUGF(level, fmt ": %s", __VA_ARGS__, wkt); \
lwfree(wkt); \
} while (0);
diff --git a/liblwgeom/lwgeom_topo.c b/liblwgeom/lwgeom_topo.c
index d468ada..8576a61 100644
--- a/liblwgeom/lwgeom_topo.c
+++ b/liblwgeom/lwgeom_topo.c
@@ -7094,7 +7094,7 @@ lwt_GetFaceContainingPoint(LWT_TOPOLOGY* topo, const LWPOINT* pt)
shortestLine = lwgeom_closest_line(lwline_as_lwgeom(closestEdge->geom), lwpoint_as_lwgeom(pt));
- LWDEBUGGF(1, shortestLine, "Shortest line to closest edge %d", closestEdge->edge_id);
+ LWDEBUGGF(1, shortestLine, "Shortest line to closest edge %" LWTFMT_ELEMID, closestEdge->edge_id);
/* Check if the closest point on the edge is an edge endpoint */
-----------------------------------------------------------------------
Summary of changes:
liblwgeom/lwgeom_log.h | 2 +-
liblwgeom/lwgeom_topo.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list