httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_cache.h mod_mem_cache.c
Date Thu, 04 Dec 2003 00:16:13 GMT
bnicholes    2003/12/03 16:16:13

  Modified:    modules/experimental mod_cache.h mod_mem_cache.c
  Log:
  Fix up the types used for atomics
  
  Revision  Changes    Path
  1.41      +1 -1      httpd-2.0/modules/experimental/mod_cache.h
  
  Index: mod_cache.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_cache.h,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- mod_cache.h	11 Sep 2003 14:56:03 -0000	1.40
  +++ mod_cache.h	4 Dec 2003 00:16:13 -0000	1.41
  @@ -219,7 +219,7 @@
       apr_size_t count;   /* Number of body bytes written to the cache so far */
       int complete;
   #ifdef USE_ATOMICS
  -    apr_atomic_t refcount;
  +    apr_uint32_t refcount;
   #else
       apr_size_t refcount;
   #endif
  
  
  
  1.98      +1 -1      httpd-2.0/modules/experimental/mod_mem_cache.c
  
  Index: mod_mem_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_mem_cache.c,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- mod_mem_cache.c	2 Dec 2003 19:07:41 -0000	1.97
  +++ mod_mem_cache.c	4 Dec 2003 00:16:13 -0000	1.98
  @@ -103,7 +103,7 @@
       long total_refs;          /**< total number of references this entry has had */
   
   #ifdef USE_ATOMICS
  -    apr_atomic_t pos;   /**< the position of this entry in the cache */
  +    apr_uint32_t pos;   /**< the position of this entry in the cache */
   #else
       apr_ssize_t pos;
   #endif
  
  
  

Mime
View raw message