[postgis-tickets] [PostGIS] #4872: Failure on windows - wkt_input

PostGIS trac at osgeo.org
Tue Mar 9 12:21:10 PST 2021


#4872: Failure on windows -  wkt_input
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.2.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by pramsey):

 So, for "reasons" the dtof() function is converting "nan" to 0? Seems
 like? I guess you could start confirming that by adding a little test up
 front, make sure what we're seeing is just a straight-up oddness in
 windows?
 {{{
 s = "nan";
 CU_ASSERT(isnan(atof(s)));
 s = "point(nan 10)";
 r = cu_wkt_in(s, WKT_ISO);
 cu_strtolower(r);
 CU_ASSERT_STRING_EQUAL(r,s);
 lwfree(r);
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4872#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list