diff options
author | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-25 00:22:04 +0000 |
---|---|---|
committer | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-25 00:22:04 +0000 |
commit | 495edb1844ecb75c14cf6452509c9919eda88f5b (patch) | |
tree | 0cfe7f1fb8f4026f63a1254c8f90fe584b9b002d /misc | |
parent | 1c5dbc184285f1f1e449255140154bd5b34ad8d4 (diff) | |
download | libapr-util-495edb1844ecb75c14cf6452509c9919eda88f5b.tar.gz |
Fix apu_dso_load() for netware. Make sure that the search for the apr global memory pool doesn't search forever since netware doesn't have a single global memory pool per process.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@720364 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r-- | misc/apu_dso.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/apu_dso.c b/misc/apu_dso.c index 83e24569..9ea98175 100644 --- a/misc/apu_dso.c +++ b/misc/apu_dso.c @@ -82,7 +82,12 @@ apr_status_t apu_dso_init(apr_pool_t *pool) /* Top level pool scope, need process-scope lifetime */ for (parent = global = pool; parent; parent = apr_pool_parent_get(global)) - global = parent; +#ifdef NETWARE + if (parent == global) { + break; + } +#endif + global = parent; dsos = apr_hash_make(global); |