[mapserver-commits] r12226 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:08:46 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:08:46 -0700 (Fri, 26 Aug 2011)
New Revision: 12226

Modified:
   trunk/mapserver/mapcache/src/fastcgi_geocache.c
   trunk/mapserver/mapcache/src/geocache_seed.c
Log:
tweak
thomas.bonfort | 2011-01-10 09:24:31 +0100 (Mon, 10 Jan 2011)

Modified: trunk/mapserver/mapcache/src/fastcgi_geocache.c
===================================================================
--- trunk/mapserver/mapcache/src/fastcgi_geocache.c	2011-08-26 11:08:42 UTC (rev 12225)
+++ trunk/mapserver/mapcache/src/fastcgi_geocache.c	2011-08-26 11:08:46 UTC (rev 12226)
@@ -104,7 +104,7 @@
 
 static geocache_context_fcgi* fcgi_context_create() {
    apr_pool_t *pool;
-   if(apr_pool_create_core(&pool) != APR_SUCCESS) {
+   if(apr_pool_create(&pool,NULL) != APR_SUCCESS) {
       return NULL;
    }
    geocache_context_fcgi *ctx = apr_pcalloc(pool, sizeof(geocache_context_fcgi));

Modified: trunk/mapserver/mapcache/src/geocache_seed.c
===================================================================
--- trunk/mapserver/mapcache/src/geocache_seed.c	2011-08-26 11:08:42 UTC (rev 12225)
+++ trunk/mapserver/mapcache/src/geocache_seed.c	2011-08-26 11:08:46 UTC (rev 12226)
@@ -216,7 +216,7 @@
     const char *optarg;
     apr_initialize();
     (void) signal(SIGINT,handle_sig_int);
-    apr_pool_create_core(&gctx->pool);
+    apr_pool_create(&gctx->pool,NULL);
     geocache_context_init(gctx);
     cfg = geocache_configuration_create(gctx->pool);
     apr_getopt_init(&opt, gctx->pool, argc, argv);



More information about the mapserver-commits mailing list