apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/memory/unix apr_pools.c
Date Mon, 23 Jul 2001 22:38:36 GMT
wrowe       01/07/23 15:38:36

  Modified:    memory/unix apr_pools.c
  Log:
    This is the patch described in the prior cvs checkin
  
  Revision  Changes    Path
  1.103     +3 -7      apr/memory/unix/apr_pools.c
  
  Index: apr_pools.c
  ===================================================================
  RCS file: /home/cvs/apr/memory/unix/apr_pools.c,v
  retrieving revision 1.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- apr_pools.c	2001/07/23 22:19:13	1.102
  +++ apr_pools.c	2001/07/23 22:38:36	1.103
  @@ -717,9 +717,8 @@
       }
   }
   
  -APR_DECLARE(void) apr_pool_child_cleanup_set(apr_pool_t *p, const void *data,
  -                                   apr_status_t (*plain_cleanup) (void *))
  -                                   apr_status_t (*plain_cleanup) (void *))
  +APR_DECLARE(void) apr_pool_cleanup_kill(apr_pool_t *p, const void *data,
  +					apr_status_t (*cleanup) (void *))
   {
       struct cleanup *c;
       struct cleanup **lastp;
  @@ -744,19 +743,16 @@
                                          apr_status_t (*child_cleanup) (void *))
   {
       struct cleanup *c;
  -    struct cleanup **lastp;
   
       if (p == NULL)
           return;
       c = p->cleanups;
  -    lastp = &p->cleanups;
       while (c) {
           if (c->data == data && c->plain_cleanup == plain_cleanup) {
  -            c->child_cleanup = child_cleanup;
  +            c->child_cleanup == child_cleanup;
               break;
           }
   
  -        lastp = &c->next;
           c = c->next;
       }
   }
  
  
  

Mime
View raw message