[mapserver-commits] r12188 - trunk/mapserver/mapcache/src
svn at osgeo.org
svn at osgeo.org
Fri Aug 26 07:05:30 EDT 2011
Author: tbonfort
Date: 2011-08-26 04:05:29 -0700 (Fri, 26 Aug 2011)
New Revision: 12188
Modified:
trunk/mapserver/mapcache/src/mod_geocache.c
Log:
fix some meory corruption errors, TODO: check why a = b + ((test)?1:2) does not work as expected
thomas.bonfort | 2010-12-23 19:51:38 +0100 (Thu, 23 Dec 2010)
Modified: trunk/mapserver/mapcache/src/mod_geocache.c
===================================================================
--- trunk/mapserver/mapcache/src/mod_geocache.c 2011-08-26 11:05:26 UTC (rev 12187)
+++ trunk/mapserver/mapcache/src/mod_geocache.c 2011-08-26 11:05:29 UTC (rev 12188)
@@ -247,12 +247,11 @@
char *mutex_unique_name = apr_psprintf(p,"%s-%d",geocache_mutex_name,getpid());
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, "mutex name is %s",mutex_unique_name);
-#ifdef DEBUG
if(!cfg) {
ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s, "configuration not found in server context");
return 1;
}
-#endif
+
#if APR_HAS_PROC_PTHREAD_SERIALIZE
lock_type = APR_LOCK_PROC_PTHREAD;
#endif
More information about the mapserver-commits
mailing list