apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stri...@apache.org
Subject cvs commit: apr/memory/unix apr_pools.c
Date Tue, 15 Jan 2002 12:16:21 GMT
striker     02/01/15 04:16:21

  Modified:    memory/unix apr_pools.c
  Log:
  In verbose debug mode, also output the parent pool on CLEAR and DESTROY.
  
  Revision  Changes    Path
  1.139     +8 -4      apr/memory/unix/apr_pools.c
  
  Index: apr_pools.c
  ===================================================================
  RCS file: /home/cvs/apr/memory/unix/apr_pools.c,v
  retrieving revision 1.138
  retrieving revision 1.139
  diff -u -r1.138 -r1.139
  --- apr_pools.c	15 Jan 2002 08:29:35 -0000	1.138
  +++ apr_pools.c	15 Jan 2002 12:16:20 -0000	1.139
  @@ -1070,13 +1070,15 @@
       if (file_stderr) {
           apr_file_printf(file_stderr,
               "POOL DEBUG: CLEAR   [%10lu/%10lu/%10lu] "
  -            "0x%08X \"%s\" [%s] (%u/%u/%u)\n",
  +            "0x%08X \"%s\" [%s] (%u/%u/%u) "
  +            "parent=0x%08X\n",
               (unsigned long)apr_pool_num_bytes(pool, 0),
               (unsigned long)apr_pool_num_bytes(pool, 1),
               (unsigned long)apr_pool_num_bytes(global_pool, 1),
               (unsigned int)pool, pool->tag,
               file_line,
  -            pool->stat_alloc, pool->stat_total_alloc, pool->stat_clear);
  +            pool->stat_alloc, pool->stat_total_alloc, pool->stat_clear,
  +            (unsigned int)pool->parent);
       }
   #endif
   
  @@ -1092,13 +1094,15 @@
       if (file_stderr) {
           apr_file_printf(file_stderr,
               "POOL DEBUG: DESTROY [%10lu/%10lu/%10lu] "
  -            "0x%08X \"%s\" [%s] (%u/%u/%u)\n",
  +            "0x%08X \"%s\" [%s] (%u/%u/%u) "
  +            "parent=0x%08X\n",
               (unsigned long)apr_pool_num_bytes(pool, 0),
               (unsigned long)apr_pool_num_bytes(pool, 1),
               (unsigned long)apr_pool_num_bytes(global_pool, 1),
               (unsigned int)pool, pool->tag,
               file_line,
  -            pool->stat_alloc, pool->stat_total_alloc, pool->stat_clear);
  +            pool->stat_alloc, pool->stat_total_alloc, pool->stat_clear,
  +            (unsigned int)pool->parent);
       }
   #endif
   
  
  
  

Mime
View raw message