[geos-commits] [SCM] GEOS branch master updated. 7d02cb4ab4bc1e62bb36c51a26511ba7a9697f28

git at osgeo.org git at osgeo.org
Tue Jan 21 06:43:55 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, master has been updated
       via  7d02cb4ab4bc1e62bb36c51a26511ba7a9697f28 (commit)
      from  1837d3b74477ccd5624fe578a582f455bab310d1 (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 7d02cb4ab4bc1e62bb36c51a26511ba7a9697f28
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Jan 21 15:43:05 2020 +0100

    report of what the invalid rule was (solves a FIXME)
    ... and a regression in PostGIS testsuite ...

diff --git a/capi/geos_ts_c.cpp b/capi/geos_ts_c.cpp
index 2d6fd91..879c00c 100644
--- a/capi/geos_ts_c.cpp
+++ b/capi/geos_ts_c.cpp
@@ -639,8 +639,9 @@ extern "C" {
-                    // FIXME retain reporting of what the invalid rule was
-                    throw std::runtime_error("Invalid boundary node rule");
+                    std::ostringstream ss;
+                    ss << "Invalid boundary node rule " << bnr;
+                    throw std::runtime_error(ss.str());
             if(!im) {


Summary of changes:
 capi/geos_ts_c.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


More information about the geos-commits mailing list