[geos-commits] [SCM] GEOS branch 3.8 updated. e6af8cf05a84aea4d95696e6ded88ee9f5a031df
git at osgeo.org
git at osgeo.org
Thu Jan 16 06:34:33 PST 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 "GEOS".
The branch, 3.8 has been updated
via e6af8cf05a84aea4d95696e6ded88ee9f5a031df (commit)
via bc6258fa6ad37244609743723bdf31e049e53688 (commit)
via b01c04161a948661ac2448e4667c0d144f7184aa (commit)
from fe6d9701a5923bdb23607a71997a884b99767b2d (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 e6af8cf05a84aea4d95696e6ded88ee9f5a031df
Author: Daniel Baston <dbaston at gmail.com>
Date: Thu Jan 16 09:34:25 2020 -0500
NEWS update
diff --git a/NEWS b/NEWS
index 435124f..b32185d 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Changes in 3.8.1
- Avoid returning non-empty CoordinateSequence from empty Point
(#1001, Dan Baston)
- Avoid assertion failure with MSVC 2017 / 2019 (#1002, Dan Baston)
+ - Remove whitespace from end of GEOSversion() output (azhi)
Changes in 3.8.0
commit bc6258fa6ad37244609743723bdf31e049e53688
Author: Daniel Baston <dbaston at gmail.com>
Date: Thu Jan 16 09:27:50 2020 -0500
Add test for GEOSversion
diff --git a/tests/unit/capi/GEOSCAPIDefinesTest.cpp b/tests/unit/capi/GEOSCAPIDefinesTest.cpp
index d331e55..5d53471 100644
--- a/tests/unit/capi/GEOSCAPIDefinesTest.cpp
+++ b/tests/unit/capi/GEOSCAPIDefinesTest.cpp
@@ -55,5 +55,14 @@ void object::test<2>
std::string(EXPAND_AND_QUOTE(GEOS_VERSION_PATCH)));
}
+// Make sure define is consistent with function
+template<>
+template<>
+void object::test<3>
+()
+{
+ ensure_equals(GEOS_CAPI_VERSION, std::string(GEOSversion()));
+}
+
} // namespace tut
commit b01c04161a948661ac2448e4667c0d144f7184aa
Author: azhi <azhi at users.noreply.github.com>
Date: Thu Jan 16 16:13:02 2020 +0300
remove whitespace at the end of capi version
diff --git a/capi/geos_ts_c.cpp b/capi/geos_ts_c.cpp
index fab762c..4391b9b 100644
--- a/capi/geos_ts_c.cpp
+++ b/capi/geos_ts_c.cpp
@@ -3644,7 +3644,7 @@ extern "C" {
const char* GEOSversion()
{
static char version[256];
- sprintf(version, "%s ", GEOS_CAPI_VERSION);
+ sprintf(version, "%s", GEOS_CAPI_VERSION);
return version;
}
-----------------------------------------------------------------------
Summary of changes:
NEWS | 1 +
capi/geos_ts_c.cpp | 2 +-
tests/unit/capi/GEOSCAPIDefinesTest.cpp | 9 +++++++++
3 files changed, 11 insertions(+), 1 deletion(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list