apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject svn commit: r411301 - /apr/apr/trunk/memory/unix/apr_pools.c
Date Fri, 02 Jun 2006 21:44:41 GMT
Author: bnicholes
Date: Fri Jun  2 14:44:40 2006
New Revision: 411301

URL: http://svn.apache.org/viewvc?rev=411301&view=rev
Log:
Don't allow apr_pool_parent_get() to return a NULL pointer.  Since there aren't any process
boundaries on NetWare which makes the global_pool global to all applications, return the application
specific pool as the global_pool. 

Modified:
    apr/apr/trunk/memory/unix/apr_pools.c

Modified: apr/apr/trunk/memory/unix/apr_pools.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/memory/unix/apr_pools.c?rev=411301&r1=411300&r2=411301&view=diff
==============================================================================
--- apr/apr/trunk/memory/unix/apr_pools.c (original)
+++ apr/apr/trunk/memory/unix/apr_pools.c Fri Jun  2 14:44:40 2006
@@ -1824,7 +1824,7 @@
     /* On NetWare, don't return the global_pool, return the application pool 
        as the top most pool */
     if (pool->parent == global_pool)
-        return NULL;
+        return pool;
     else
 #endif
     return pool->parent;



Mime
View raw message