apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: apr-util/buckets apr_buckets_simple.c
Date Sat, 25 Aug 2001 23:05:52 GMT
jwoolley    01/08/25 16:05:52

  Modified:    buckets  apr_buckets_simple.c
  Log:
  Since we're using apr_size_t now instead of apr_off_t, there's really no
  such thing as point being negative.  Since we're unsigned, the only
  possibility to check for is point being greater than a->length.
  
  Revision  Changes    Path
  1.34      +1 -1      apr-util/buckets/apr_buckets_simple.c
  
  Index: apr_buckets_simple.c
  ===================================================================
  RCS file: /home/cvs/apr-util/buckets/apr_buckets_simple.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -d -u -r1.33 -r1.34
  --- apr_buckets_simple.c	2001/08/25 22:54:56	1.33
  +++ apr_buckets_simple.c	2001/08/25 23:05:52	1.34
  @@ -68,7 +68,7 @@
   {
       apr_bucket *b;
   
  -    if ((point > a->length) || (a->length == (apr_size_t)(-1))) {
  +    if (point > a->length) {
   	return APR_EINVAL;
       }
   
  
  
  

Mime
View raw message