[postgis-tickets] [SCM] PostGIS branch stable-2.5 updated. 2.5.5-20-gad02524
git at osgeo.org
git at osgeo.org
Sun Aug 15 16:22:52 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, stable-2.5 has been updated
via ad02524990e605271f73731b4e509b9db81660be (commit)
from 447e6ee9ab961d6d5566699b2a880a66b6eaf609 (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 ad02524990e605271f73731b4e509b9db81660be
Author: Regina Obe <lr at pcorp.us>
Date: Sun Aug 15 19:22:47 2021 -0400
Backport Raúl Marín CUnit fixes. References #4971 for PostGIS 2.5.6
diff --git a/NEWS b/NEWS
index c98c44e..10d569a 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,7 @@ YYYY/MM/DD
- #4769, Fix segfault in st_addband (Raúl Marín)
- #4863, Update bboxes after affine/scale operations (Paul Ramsey)
- #4326, Fix CircularPolygon area calculation (Paul Ramsey)
+ - #4971, Cunit fixes for newer CUnit (Raúl Marín, Regina Obe)
PostGIS 2.5.5
diff --git a/liblwgeom/cunit/cu_tester.h b/liblwgeom/cunit/cu_tester.h
index c5e6ccf..862bc09 100644
--- a/liblwgeom/cunit/cu_tester.h
+++ b/liblwgeom/cunit/cu_tester.h
@@ -10,6 +10,9 @@
*
**********************************************************************/
+#ifndef _CU_TESTER_H
+#define _CU_TESTER_H 1
+
#include "liblwgeom.h"
#define MAX_CUNIT_ERROR_LENGTH 512
@@ -17,7 +20,7 @@
#define PG_ADD_TEST(suite, testfunc) CU_add_test(suite, #testfunc, testfunc)
/* Contains the most recent error message generated by lwerror. */
-char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1];
+extern char cu_error_msg[];
/* Resets cu_error_msg back to blank. */
void cu_error_msg_reset(void);
@@ -87,3 +90,5 @@ typedef void (*PG_SuiteSetup)(void);
/* Utility functions */
void do_fn_test(LWGEOM* (*transfn)(LWGEOM*), char *input_wkt, char *expected_wkt);
+
+#endif /* _CU_TESTER_H */
-----------------------------------------------------------------------
Summary of changes:
NEWS | 1 +
liblwgeom/cunit/cu_tester.h | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list