apr_global_mutex_create if no cache file name is specified, rather
than inventing an inappropriate name with tmpnam().
PR: 30385
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@227230
13f79535-47bb-0310-9956-
ffa450edef68
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,