[postgis-devel] [PostGIS] #1668: ST_AsText, ST_AsEWKT under Windows 64-bit PostGIS 64-bit is all screwy

PostGIS trac at osgeo.org
Thu Mar 8 19:12:38 PST 2012


#1668: ST_AsText, ST_AsEWKT under Windows 64-bit PostGIS 64-bit is all screwy
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:  mingw64  |  
---------------------+------------------------------------------------------

Comment(by robe):

 I'll check dusty's link out.  My thinking was that the value for length
 being returned by vnsprintf is too low.  By setting len to higher when it
 fails, it then falls into the next loop -- your We don't have enough
 space:

 {{{
 /* We didn't have enough space! Expand the buffer. */
 214             if ( len >= maxlen )
 }}}

 And 128 should be plenty  for anybody:)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1668#comment:12>
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-devel mailing list