svn commit: samba r19414 - in branches/SAMBA_3_0/source/lib: .
gd at samba.org
gd at samba.org
Thu Oct 19 15:43:26 GMT 2006
Author: gd
Date: 2006-10-19 15:43:25 +0000 (Thu, 19 Oct 2006)
New Revision: 19414
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19414
Log:
gencache is getting really important now, make sure that lp_lockdir
always exists so that the gencache.tdb can get created there.
Guenther
Modified:
branches/SAMBA_3_0/source/lib/gencache.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/gencache.c
===================================================================
--- branches/SAMBA_3_0/source/lib/gencache.c 2006-10-19 13:32:00 UTC (rev 19413)
+++ branches/SAMBA_3_0/source/lib/gencache.c 2006-10-19 15:43:25 UTC (rev 19414)
@@ -56,7 +56,7 @@
/* skip file open if it's already opened */
if (cache) return True;
- asprintf(&cache_fname, "%s/%s", lp_lockdir(), "gencache.tdb");
+ asprintf(&cache_fname, "%s/%s", lock_path("gencache.tdb"));
if (cache_fname == NULL) {
DEBUG(0, ("Filename allocation failed.\n"));
return False;
More information about the samba-cvs
mailing list