]> granicus.if.org Git - postgis/commitdiff
Fix Solaris regression failure for string representation of 'Infinity'
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 4 Dec 2014 00:25:34 +0000 (00:25 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 4 Dec 2014 00:25:34 +0000 (00:25 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13140 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/cunit/cu_in_wkt.c

index 6517616f5de1351c67acbd3e07e9c5ba66ad9a38..a8ce9680684e87f55313b58c35fc5369885d7852 100644 (file)
@@ -70,7 +70,7 @@ static void test_wkt_in_point(void)
 {
        s = "POINT(1e700 0)";
        r = cu_wkt_in(s, WKT_SFSQL);
-       CU_TEST ( ! strcmp(r, "POINT(inf 0)") || ! strcmp(r, "POINT(1.#INF 0)") );
+       CU_TEST ( ! strcmp(r, "POINT(inf 0)") || ! strcmp(r, "POINT(1.#INF 0)") || ! strcmp(r, "POINT(Infinity 0)") );
        lwfree(r);
 
        s = "POINT(0 0)";