You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jw...@apache.org on 2001/09/29 05:29:41 UTC

cvs commit: apr-util/buckets apr_buckets_pool.c

jwoolley    01/09/28 20:29:41

  Modified:    buckets  apr_buckets_pool.c
  Log:
  I peeked into the pool buckets to see how they handled setaside(), and seeing
  setaside_noop() in there surprised me to say the least.  For about three
  minutes until I came to my senses and realized the pool cleanup handles
  all this for us.  Figured I'd add a little note in there to save somebody
  else a similar shock.  =-)
  
  Revision  Changes    Path
  1.25      +1 -1      apr-util/buckets/apr_buckets_pool.c
  
  Index: apr_buckets_pool.c
  ===================================================================
  RCS file: /home/cvs/apr-util/buckets/apr_buckets_pool.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -d -u -r1.24 -r1.25
  --- apr_buckets_pool.c	2001/09/22 22:36:07	1.24
  +++ apr_buckets_pool.c	2001/09/29 03:29:41	1.25
  @@ -173,7 +173,7 @@
       "POOL", 5,
       pool_destroy,
       pool_read,
  -    apr_bucket_setaside_noop,
  +    apr_bucket_setaside_noop, /* don't need to setaside thanks to the cleanup*/
       apr_bucket_shared_split,
       apr_bucket_shared_copy
   };