[mapserver-commits] r11531 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Apr 11 15:03:34 EDT 2011
Author: rouault
Date: 2011-04-11 12:03:34 -0700 (Mon, 11 Apr 2011)
New Revision: 11531
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapcluster.c
Log:
fix building of mapcluster.c when OGR support is disabled
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-04-11 18:57:51 UTC (rev 11530)
+++ trunk/mapserver/HISTORY.TXT 2011-04-11 19:03:34 UTC (rev 11531)
@@ -15,6 +15,8 @@
Current Version (SVN trunk):
----------------------------
+- fix building of mapcluster.c when OGR support is disabled
+
- fix some valgrind found memory leaks (offset symbols, and gd io contexts)
- skip marker symbol with no defined SYMBOL (caused some memory leaks with
Modified: trunk/mapserver/mapcluster.c
===================================================================
--- trunk/mapserver/mapcluster.c 2011-04-11 18:57:51 UTC (rev 11530)
+++ trunk/mapserver/mapcluster.c 2011-04-11 19:03:34 UTC (rev 11531)
@@ -39,6 +39,10 @@
#define EQUAL(a,b) (strcasecmp(a, b) == 0)
#endif
+#ifndef EQUALN
+#define EQUALN(a,b,n) (strncasecmp(a, b,n) == 0)
+#endif
+
#ifdef USE_CLUSTER_PLUGIN
#define USE_CLUSTER_EXTERNAL
#endif
More information about the mapserver-commits
mailing list