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 Thu, 30 May 2002 00:54:55 GMT
striker     02/05/29 17:54:55

  Modified:    memory/unix apr_pools.c
  Log:
  The style police patrols in a dimly lit alleyway...
  Issued tickets for tabs and trailing whitespace.
  
  Revision  Changes    Path
  1.173     +9 -9      apr/memory/unix/apr_pools.c
  
  Index: apr_pools.c
  ===================================================================
  RCS file: /home/cvs/apr/memory/unix/apr_pools.c,v
  retrieving revision 1.172
  retrieving revision 1.173
  diff -u -r1.172 -r1.173
  --- apr_pools.c	30 May 2002 00:36:42 -0000	1.172
  +++ apr_pools.c	30 May 2002 00:54:55 -0000	1.173
  @@ -948,7 +948,7 @@
               active->next = node;
               node->ref = &active->next;
           }
  - 
  +
           node = pool->active;
       }
       else {
  @@ -957,7 +957,7 @@
   
           if (ps->got_a_new_node) {
               active->next = ps->free;
  -            ps->free = node; 
  +            ps->free = node;
           }
   
           ps->got_a_new_node = 1;
  @@ -1385,7 +1385,7 @@
   #if APR_HAS_THREADS
       apr_thread_mutex_t *mutex = NULL;
   #endif
  -    
  +
       apr_pool_check_integrity(pool);
   
   #if (APR_POOL_DEBUG & APR_POOL_DEBUG_VERBOSE)
  @@ -1394,17 +1394,17 @@
   
   #if APR_HAS_THREADS
       if (pool->parent != NULL)
  -	mutex = pool->parent->mutex;
  -    
  +        mutex = pool->parent->mutex;
  +
       /* Lock the parent mutex before clearing so that if we have our
        * own mutex it won't be accessed by apr_pool_walk_tree after
        * it has been destroyed.
        */
       if (mutex != NULL && mutex != pool->mutex) {
  -	apr_thread_mutex_lock(mutex);
  +        apr_thread_mutex_lock(mutex);
       }
   #endif
  -    
  +
       pool_clear_debug(pool, file_line);
   
   #if APR_HAS_THREADS
  @@ -1416,8 +1416,8 @@
           (void)apr_thread_mutex_create(&pool->mutex,
                                         APR_THREAD_MUTEX_NESTED, pool);
   
  -	if (mutex != NULL)
  -	    (void)apr_thread_mutex_unlock(mutex);
  +        if (mutex != NULL)
  +            (void)apr_thread_mutex_unlock(mutex);
       }
   #endif /* APR_HAS_THREADS */
   }
  
  
  

Mime
View raw message