You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2008/05/27 06:24:56 UTC
svn commit: r660368 - /apr/apr-util/branches/1.3.x/misc/apu_dso.c
Author: bojan
Date: Mon May 26 21:24:52 2008
New Revision: 660368
URL: http://svn.apache.org/viewvc?rev=660368&view=rev
Log:
Backport r660367 from the trunk.
No need to look for global pool if we're alrealy initialised.
Modified:
apr/apr-util/branches/1.3.x/misc/apu_dso.c
Modified: apr/apr-util/branches/1.3.x/misc/apu_dso.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/misc/apu_dso.c?rev=660368&r1=660367&r2=660368&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/misc/apu_dso.c (original)
+++ apr/apr-util/branches/1.3.x/misc/apu_dso.c Mon May 26 21:24:52 2008
@@ -80,13 +80,14 @@
apr_pool_t *parent;
#if APU_DSO_BUILD
+ if (dsos != NULL) {
+ return APR_SUCCESS;
+ }
+
/* Top level pool scope, need process-scope lifetime */
for (parent = global = pool; parent; parent = apr_pool_parent_get(global))
global = parent;
- if (dsos != NULL) {
- return APR_SUCCESS;
- }
dsos = apr_hash_make(global);
#if APR_HAS_THREADS