[postgis-commits] svn - r3078 - branches/1.3/lwgeom
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Wed Oct 8 01:59:29 PDT 2008
Author: mleslie
Date: 2008-10-08 01:59:29 -0700 (Wed, 08 Oct 2008)
New Revision: 3078
Modified:
branches/1.3/lwgeom/lwgeom_geos_c.c
branches/1.3/lwgeom/lwgeom_rtree.c
Log:
Fixed invalid references hidden within PGIS_DEBUG ifdefs.
Modified: branches/1.3/lwgeom/lwgeom_geos_c.c
===================================================================
--- branches/1.3/lwgeom/lwgeom_geos_c.c 2008-10-08 05:48:57 UTC (rev 3077)
+++ branches/1.3/lwgeom/lwgeom_geos_c.c 2008-10-08 08:59:29 UTC (rev 3078)
@@ -1493,7 +1493,7 @@
lwgeom = lwgeom_deserialize(SERIALIZED_FORM(geom1));
point = lwpoint_deserialize(SERIALIZED_FORM(geom2));
#ifdef PGIS_DEBUG
- lwnotice("Precall point_in_polygon %p, %p", poly, point);
+ lwnotice("Precall point_in_polygon %p, %p", lwgeom, point);
#endif
/*
@@ -1647,7 +1647,7 @@
lwgeom = lwgeom_deserialize(SERIALIZED_FORM(geom1));
point = lwpoint_deserialize(SERIALIZED_FORM(geom2));
#ifdef PGIS_DEBUG
- lwnotice("Precall point_in_polygon %p, %p", poly, point);
+ lwnotice("Precall point_in_polygon %p, %p", lwgeom, point);
#endif
/*
Modified: branches/1.3/lwgeom/lwgeom_rtree.c
===================================================================
--- branches/1.3/lwgeom/lwgeom_rtree.c 2008-10-08 05:48:57 UTC (rev 3077)
+++ branches/1.3/lwgeom/lwgeom_rtree.c 2008-10-08 08:59:29 UTC (rev 3078)
@@ -520,7 +520,7 @@
int length;
#ifdef PGIS_DEBUG_CALLS
- lwnotice("retrieveCache called with %p %p %p", poly, serializedPoly, currentCache);
+ lwnotice("retrieveCache called with %p %p %p", lwgeom, serializedPoly, currentCache);
#endif
if(!currentCache)
{
@@ -551,7 +551,7 @@
if( memcmp(serializedPoly, currentCache->poly, length) )
{
#ifdef PGIS_DEBUG
- lwnotice("Polygon mismatch, creating new cache. %c, %c", a, b);
+ //lwnotice("Polygon mismatch, creating new cache. %c, %c", a, b);
#endif
clearCache(currentCache);
return currentCache;
More information about the postgis-commits
mailing list