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 Fri, 25 Jun 2004 19:50:30 GMT
bnicholes    2004/06/25 12:50:30

  Modified:    modules/experimental util_ldap_cache_mgr.c
  Log:
  Make sure that the shared memory pointers are propagated down through the various caches
that are created
  
  Revision  Changes    Path
  1.20      +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.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- util_ldap_cache_mgr.c	21 Jun 2004 19:49:42 -0000	1.19
  +++ util_ldap_cache_mgr.c	25 Jun 2004 19:50:30 -0000	1.20
  @@ -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