--- srclib/apr/memory/unix/apr_pools.c~	Sat Aug 25 15:11:47 2001
+++ srclib/apr/memory/unix/apr_pools.c	Sat Aug 25 15:16:02 2001
@@ -184,7 +184,7 @@
     node_t *node, **ref;
     apr_uint32_t i, index, max_index; 
 
-    size = ALIGN(size, BOUNDARY_SIZE);
+    size = ALIGN(size + SIZEOF_NODE_T, BOUNDARY_SIZE);
     if (size < MIN_ALLOC)
         size = MIN_ALLOC;
 
@@ -310,7 +310,7 @@
      */
     active->first_avail = (char *)active + SIZEOF_NODE_T;
 
-    if ((node = node_malloc(pool->allocator, size + SIZEOF_NODE_T)) == NULL) {
+    if ((node = node_malloc(pool->allocator, size)) == NULL) {
         active->first_avail = active->endp;
 
         if (pool->abort_fn)
@@ -349,7 +349,7 @@
      */
     active->first_avail = (char *)active + SIZEOF_NODE_T;
 
-    if ((node = node_malloc(pool->allocator, size + SIZEOF_NODE_T)) == NULL) {
+    if ((node = node_malloc(pool->allocator, size)) == NULL) {
         active->first_avail = active->endp;
 
         if (pool->abort_fn)
@@ -590,7 +590,7 @@
     }
 
     allocator = parent ? parent->allocator : &global_allocator;
-    if ((node = node_malloc(allocator, MIN_ALLOC)) == NULL) {
+    if ((node = node_malloc(allocator, MIN_ALLOC - SIZEOF_NODE_T)) == NULL) {
         if (abort_fn)
             abort_fn(APR_ENOMEM);
 
@@ -931,7 +931,7 @@
     strp = ps->vbuff.curpos;
     cur_len = strp - node->first_avail;
 
-    if ((active = node_malloc(allocator, (cur_len << 1) + SIZEOF_NODE_T)) == NULL)
+    if ((active = node_malloc(allocator, cur_len << 1)) == NULL)
         return -1;
 
     memcpy(active->first_avail, node->first_avail, cur_len);
