[postgis-tickets] [SCM] PostGIS branch main updated. 3.2.0alpha1-22-g5b3b6ac

git at osgeo.org git at osgeo.org
Fri Sep 24 10:43:36 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  5b3b6acb8173488fbf768191b5bc2beb53beb0ce (commit)
      from  0568b9c6c628ac55c643cd017c8edb5315718d7c (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 5b3b6acb8173488fbf768191b5bc2beb53beb0ce
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Sep 24 19:41:36 2021 +0200

    Fix LWDEBUGGF macro
    
    We rely on the fact that WKT never contains a % character

diff --git a/liblwgeom/lwgeom_log.h b/liblwgeom/lwgeom_log.h
index feb2ac5..f443de6 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 ": %s", __VA_ARGS__, wkt); \
+    LWDEBUGF(level, fmt ": " wkt, __VA_ARGS__); \
     lwfree(wkt); \
   } while (0);
 

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

Summary of changes:
 liblwgeom/lwgeom_log.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list