apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr-util/include apr_buckets.h
Date Sun, 17 Feb 2002 19:22:09 GMT
trawick     02/02/17 11:22:09

  Modified:    include  apr_buckets.h
  Log:
  stop using APR_BRIGADE_NORMALIZE()
  
  Revision  Changes    Path
  1.128     +0 -21     apr-util/include/apr_buckets.h
  
  Index: apr_buckets.h
  ===================================================================
  RCS file: /home/cvs/apr-util/include/apr_buckets.h,v
  retrieving revision 1.127
  retrieving revision 1.128
  diff -u -r1.127 -r1.128
  --- apr_buckets.h	16 Feb 2002 07:03:30 -0000	1.127
  +++ apr_buckets.h	17 Feb 2002 19:22:09 -0000	1.128
  @@ -497,27 +497,6 @@
    */
   #define APR_BUCKET_IS_POOL(e)        (e->type == &apr_bucket_type_pool)
   
  -/**
  - * Remove all zero length buckets from the brigade.
  - * @param b The bucket brigade
  - * @deprecated CAUTION: This macro will be removed from the API soon, as it
  - *             is *not* safe to remove zero-length buckets from a brigade
  - *             arbitrarily; metadata buckets are zero-length.
  - */
  -#define APR_BRIGADE_NORMALIZE(b)       \
  -do { \
  -    apr_bucket *e = APR_BRIGADE_FIRST(b); \
  -    do {  \
  -        if (e->length == 0) { \
  -            apr_bucket *d; \
  -            d = APR_BUCKET_NEXT(e); \
  -            apr_bucket_delete(e); \
  -            e = d; \
  -        } \
  -        e = APR_BUCKET_NEXT(e); \
  -    } while (!APR_BRIGADE_EMPTY(b) && (e != APR_BRIGADE_SENTINEL(b))); \
  -} while (0)
  -
   /*
    * General-purpose reference counting for the various bucket types.
    *
  
  
  

Mime
View raw message