[postgis-devel] [PostGIS] #273: ST_GeomFromGML crashes in Windows compiled in MingW
PostGIS
trac at osgeo.org
Wed Nov 4 08:47:35 PST 2009
#273: ST_GeomFromGML crashes in Windows compiled in MingW
----------------------+-----------------------------------------------------
Reporter: robe | Owner: colivier
Type: defect | Status: new
Priority: medium | Milestone: postgis 1.5.0
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by robe):
I did a test putting in notices and (had to put in error too because the
crash prevented me from seeing the notices). Anyrate as far as I can tell
-- it starts failing in parse_gml_data function r4734 -- line 846
Which looks like
{{{
if (!strcmp((char *) xa->name, "pos")) {
}}}
So I guess its either the strcmp or whatever the xa->name is returning.
For what its worth none of the other code I saw in our codebase does a
strcmp((char *) ... in one step.
They always seem to declare the variable char * and use the variable,
though that may be a stylistic feature rather than for some fundamental
reason.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/273#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list