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 util_ldap_cache_mgr.c
Date Wed, 04 Aug 2004 20:47:22 GMT
bnicholes    2004/08/04 13:47:22

  Modified:    modules/experimental Tag: APACHE_2_0_BRANCH
                        util_ldap_cache_mgr.c
  Log:
  Copy the share memory pointers down through the cache hierarchy so that they can be referenced
and used in the lower level caches.
  
  Reviewed by: bnicholes, minfrin, jjclar
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.3.2.12  +4 -1      httpd-2.0/modules/experimental/util_ldap_cache_mgr.c
  
  Index: util_ldap_cache_mgr.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/util_ldap_cache_mgr.c,v
  retrieving revision 1.3.2.11
  retrieving revision 1.3.2.12
  diff -u -r1.3.2.11 -r1.3.2.12
  --- util_ldap_cache_mgr.c	4 Aug 2004 20:42:19 -0000	1.3.2.11
  +++ util_ldap_cache_mgr.c	4 Aug 2004 20:47:21 -0000	1.3.2.12
  @@ -284,6 +284,10 @@
       if (!cache)
           return NULL;
   
  +#if APR_HAS_SHARED_MEMORY
  +    cache->rmm_addr = st->cache_rmm;
  +    cache->shm_addr = st->cache_shm;
  +#endif
       cache->maxentries = st->search_cache_size;
       cache->numentries = 0;
       cache->size = st->search_cache_size / 3;
  @@ -542,7 +546,6 @@
       if (r->args && strlen(r->args)) {
           char cachetype[5], lint[2];
           unsigned int id, off;
  -        int ret;
           char date_str[APR_CTIME_LEN+1];
   
           if ((3 == sscanf(r->args, scanfmt, cachetype, &id, &off, lint)) &&
  
  
  

Mime
View raw message