httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject cvs commit: httpd-2.0/modules/ldap util_ldap.c
Date Sun, 03 Oct 2004 16:44:06 GMT
minfrin     2004/10/03 09:44:06

  Modified:    .        CHANGES
               modules/ldap util_ldap.c
  Log:
  mod_ldap: fix a bogus error message to tell the user which file
  is causing a potential problem with the LDAP shared memory cache.
  PR:	31431
  Submitted by:	Graham Leggett
  
  Revision  Changes    Path
  1.1607    +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1606
  retrieving revision 1.1607
  diff -u -r1.1606 -r1.1607
  --- CHANGES	3 Oct 2004 16:24:53 -0000	1.1606
  +++ CHANGES	3 Oct 2004 16:44:05 -0000	1.1607
  @@ -2,6 +2,10 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) mod_ldap: fix a bogus error message to tell the user which file
  +     is causing a potential problem with the LDAP shared memory cache.
  +     PR 31431 [Graham Leggett]
  +
     *) mod_ldap: prevent the possiblity of an infinite loop in the LDAP
        statistics display. PR 29216 [Graham Leggett]
   
  
  
  
  1.14      +5 -2      httpd-2.0/modules/ldap/util_ldap.c
  
  Index: util_ldap.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ldap/util_ldap.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- util_ldap.c	19 Sep 2004 23:11:10 -0000	1.13
  +++ util_ldap.c	3 Oct 2004 16:44:06 -0000	1.14
  @@ -1276,12 +1276,15 @@
   
       sts = apr_global_mutex_child_init(&st->util_ldap_cache_lock, st->lock_file,
p);
       if (sts != APR_SUCCESS) {
  -        ap_log_error(APLOG_MARK, APLOG_CRIT, sts, s, "failed to init caching lock in child
process");
  +        ap_log_error(APLOG_MARK, APLOG_CRIT, sts, s,
  +                     "Failed to initialise global mutex %s in child process %d.",
  +                     st->lock_file, getpid());
           return;
       }
       else {
           ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, s, 
  -                     "INIT global mutex %s in child %d ", st->lock_file, getpid());
  +                     "Initialisation of global mutex %s in child process %d successful.",
  +                     st->lock_file, getpid());
       }
   }
   
  
  
  

Mime
View raw message