git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf5419
)
r19414: gencache is getting really important now, make sure that lp_lockdir
author
Günther Deschner
<gd@samba.org>
Thu, 19 Oct 2006 15:43:25 +0000
(15:43 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:15:33 +0000
(12:15 -0500)
always exists so that the gencache.tdb can get created there.
Guenther
source/lib/gencache.c
patch
|
blob
|
history
diff --git
a/source/lib/gencache.c
b/source/lib/gencache.c
index 95ec47b697e756cba6e0357aad1b190267490d36..1448d5a6382ae430842fad5980786dd1075358c8 100644
(file)
--- a/
source/lib/gencache.c
+++ b/
source/lib/gencache.c
@@
-56,7
+56,7
@@
BOOL gencache_init(void)
/* skip file open if it's already opened */
if (cache) return True;
- asprintf(&cache_fname, "%s/%s", l
p_lockdir(), "gencache.tdb"
);
+ asprintf(&cache_fname, "%s/%s", l
ock_path("gencache.tdb")
);
if (cache_fname == NULL) {
DEBUG(0, ("Filename allocation failed.\n"));
return False;