[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha1-54-gfed776a

git at osgeo.org git at osgeo.org
Fri Apr 17 06:09:49 PDT 2020


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  fed776a1574fb652eb88f9919c2ff171b4e711a8 (commit)
      from  8970075ee6cfdf7390b58b2fbb7c3f1bbfbbc234 (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 fed776a1574fb652eb88f9919c2ff171b4e711a8
Author: Raúl Marín <git at rmr.ninja>
Date:   Fri Apr 17 15:09:11 2020 +0200

    Raster cu_tester: Move cu_error_msg declaration to the source file
    
    References #4667

diff --git a/raster/test/cunit/cu_tester.c b/raster/test/cunit/cu_tester.c
index a75504f..e362323 100644
--- a/raster/test/cunit/cu_tester.c
+++ b/raster/test/cunit/cu_tester.c
@@ -14,6 +14,8 @@
 #include "CUnit/Basic.h"
 #include "cu_tester.h"
 
+char cu_error_msg[MAX_CUNIT_MSG_LENGTH + 1] = {0};
+
 /* Internal funcs */
 static void
 cu_error_reporter(const char *fmt, va_list ap);
diff --git a/raster/test/cunit/cu_tester.h b/raster/test/cunit/cu_tester.h
index abefc7f..a166f03 100644
--- a/raster/test/cunit/cu_tester.h
+++ b/raster/test/cunit/cu_tester.h
@@ -21,7 +21,7 @@
 #define PG_ADD_TEST(suite, testfunc) CU_add_test(suite, #testfunc, testfunc)
 
 /* Contains the most recent error message generated by rterror. */
-char cu_error_msg[MAX_CUNIT_MSG_LENGTH+1];
+extern char cu_error_msg[];
 
 /* Resets cu_error_msg back to blank. */
 void cu_error_msg_reset(void);

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

Summary of changes:
 raster/test/cunit/cu_tester.c | 2 ++
 raster/test/cunit/cu_tester.h | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list