[postgis-tickets] [SCM] PostGIS branch stable-2.5 updated. 2.5.5-22-gb079fb8
git at osgeo.org
git at osgeo.org
Sun Aug 15 17:03:15 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 b079fb8b572573a70cb6ea1c10757397d2be3e50 (commit)
from 79e2d3cbdba8b8914f5bf2482412813bd8b92709 (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 b079fb8b572573a70cb6ea1c10757397d2be3e50
Author: Regina Obe <lr at pcorp.us>
Date: Sun Aug 15 20:03:11 2021 -0400
Backport Raúl Marín CUnit fixes. More spots missed. References #4971 for PostGIS 2.5.6
diff --git a/liblwgeom/cunit/cu_in_twkb.c b/liblwgeom/cunit/cu_in_twkb.c
index 9313f13..43542b2 100644
--- a/liblwgeom/cunit/cu_in_twkb.c
+++ b/liblwgeom/cunit/cu_in_twkb.c
@@ -20,10 +20,10 @@
/*
** Global variable to hold TWKB strings
*/
-char *hex_a;
-char *hex_b;
-uint8_t precision = 0;
-uint8_t variant = 0;
+static char *hex_a;
+static char *hex_b;
+static uint8_t precision = 0;
+static uint8_t variant = 0;
/*
** The suite initialization function.
diff --git a/liblwgeom/cunit/cu_in_wkb.c b/liblwgeom/cunit/cu_in_wkb.c
index a627295..42ebf06 100644
--- a/liblwgeom/cunit/cu_in_wkb.c
+++ b/liblwgeom/cunit/cu_in_wkb.c
@@ -20,8 +20,8 @@
/*
** Global variable to hold WKB strings
*/
-char *hex_a;
-char *hex_b;
+static char *hex_a;
+static char *hex_b;
/*
** The suite initialization function.
diff --git a/liblwgeom/cunit/cu_out_twkb.c b/liblwgeom/cunit/cu_out_twkb.c
index 27f51e9..3609416 100644
--- a/liblwgeom/cunit/cu_out_twkb.c
+++ b/liblwgeom/cunit/cu_out_twkb.c
@@ -21,8 +21,8 @@
/*
** Global variable to hold hex TWKB strings
*/
-char *s;
-char *w;
+static char *s;
+static char *w;
/*
** The suite initialization function.
diff --git a/liblwgeom/cunit/cu_out_wkb.c b/liblwgeom/cunit/cu_out_wkb.c
index d60db1b..7b23fe6 100644
--- a/liblwgeom/cunit/cu_out_wkb.c
+++ b/liblwgeom/cunit/cu_out_wkb.c
@@ -20,8 +20,8 @@
/*
** Global variable to hold hex WKB strings
*/
-char *s;
-size_t s_size;
+static char *s;
+static size_t s_size;
/*
** The suite initialization function.
diff --git a/liblwgeom/cunit/cu_out_wkt.c b/liblwgeom/cunit/cu_out_wkt.c
index c070efb..199ca62 100644
--- a/liblwgeom/cunit/cu_out_wkt.c
+++ b/liblwgeom/cunit/cu_out_wkt.c
@@ -20,7 +20,7 @@
/*
** Global variable to hold WKT strings
*/
-char *s = NULL;
+static char *s = NULL;
/*
** The suite initialization function.
-----------------------------------------------------------------------
Summary of changes:
liblwgeom/cunit/cu_in_twkb.c | 8 ++++----
liblwgeom/cunit/cu_in_wkb.c | 4 ++--
liblwgeom/cunit/cu_out_twkb.c | 4 ++--
liblwgeom/cunit/cu_out_wkb.c | 4 ++--
liblwgeom/cunit/cu_out_wkt.c | 2 +-
5 files changed, 11 insertions(+), 11 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list