httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r227230 - /httpd/httpd/trunk/modules/ldap/util_ldap.c
Date Wed, 03 Aug 2005 14:44:31 GMT
Author: jorton
Date: Wed Aug  3 07:44:29 2005
New Revision: 227230

URL: http://svn.apache.org/viewcvs?rev=227230&view=rev
Log:
* modules/ldap/util_ldap.c (util_ldap_post_config): Pass NULL to
apr_global_mutex_create if no cache file name is specified, rather
than inventing an inappropriate name with tmpnam().

PR: 30385

Modified:
    httpd/httpd/trunk/modules/ldap/util_ldap.c

Modified: httpd/httpd/trunk/modules/ldap/util_ldap.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/ldap/util_ldap.c?rev=227230&r1=227229&r2=227230&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap.c Wed Aug  3 07:44:29 2005
@@ -1841,9 +1841,7 @@
             st->lock_file = apr_pstrcat(st->pool, st->cache_file, ".lck", 
                                         NULL);
         }
-        else
 #endif
-            st->lock_file = ap_server_root_relative(st->pool, tmpnam(NULL));
 
         result = apr_global_mutex_create(&st->util_ldap_cache_lock, 
                                          st->lock_file, APR_LOCK_DEFAULT, 



Mime
View raw message