[geos-commits] [SCM] GEOS branch svn-3.6 updated. f704d26b13105a591f97a7b2a76d7ca782f0a6a2
git at osgeo.org
git at osgeo.org
Fri Jan 25 16:47:49 PST 2019
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, svn-3.6 has been updated
via f704d26b13105a591f97a7b2a76d7ca782f0a6a2 (commit)
via 90cdcf03bba8bc8e1534071c0a272049cb6221d4 (commit)
from 8a0f6d0e121c663bfdeab9a76baba189db52bacb (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 f704d26b13105a591f97a7b2a76d7ca782f0a6a2
Merge: 90cdcf0 8a0f6d0
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Fri Jan 25 16:47:31 2019 -0800
Merge branch 'svn-3.6' of https://git.osgeo.org/gogs/geos/geos into svn-3.6
diff --cc NEWS
index 9456a72,ea82867..f68f297
--- a/NEWS
+++ b/NEWS
@@@ -1,10 -1,21 +1,22 @@@
- Changes in 3.6.3dev
- YYYY-MM-DD
+ Changes in 3.6.4
+ 2018-XX-XX
- Bug fixes / improvements
- - Include all CMake files in release (#753)
+ - Fix crash in GEOSUnaryUnion with empty LineString
+ (#928, Sergey Fedoseev)
+ - Fix incorrect error return values in GEOSLength and
+ GEOSisValidDetail (#941, Dan Baston)
+ - Envelope constructor use strtod (#875)
+
+ Changes in 3.6.3
+ 2018-08-06
+
+ - Bug fixes / improvements
+ - Include all CMake files in release (#753)
+ - Remove BOM from source files, restoring support for GCC-4.9 (#846)
+ - Fix memory leak in GEOSSTRtree_nearest_r (#874, Dan Baston)
+
Changes in 3.6.2
2017-07-25
commit 90cdcf03bba8bc8e1534071c0a272049cb6221d4
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Fri Jan 25 16:46:09 2019 -0800
Use strtod in Envelope constructor
Closes #875
diff --git a/NEWS b/NEWS
index 80724fa..9456a72 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ YYYY-MM-DD
- Bug fixes / improvements
- Include all CMake files in release (#753)
+ - Envelope constructor use strtod (#875)
Changes in 3.6.2
2017-07-25
diff --git a/src/geom/Envelope.cpp b/src/geom/Envelope.cpp
index 7255fb0..997ce45 100644
--- a/src/geom/Envelope.cpp
+++ b/src/geom/Envelope.cpp
@@ -140,10 +140,10 @@ Envelope::Envelope(const string &str)
vector<string> values = split(coordString, ":,");
// create a new envelopet
- init(::atof(values[0].c_str()),
- ::atof(values[1].c_str()),
- ::atof(values[2].c_str()),
- ::atof(values[3].c_str()));
+ init(strtod(values[0].c_str(), nullptr),
+ strtod(values[1].c_str(), nullptr),
+ strtod(values[2].c_str(), nullptr),
+ strtod(values[3].c_str(), nullptr));
}
/*public*/
-----------------------------------------------------------------------
Summary of changes:
NEWS | 1 +
src/geom/Envelope.cpp | 8 ++++----
2 files changed, 5 insertions(+), 4 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list