summaryrefslogtreecommitdiffstats
path: root/source/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-16 23:28:59 +0000
committerJeremy Allison <jra@samba.org>1998-11-16 23:28:59 +0000
commit6c25a3314243997508b0b2da4bfa10bb979e9c10 (patch)
tree361d38bf7a244b95ed329b0b0537fbaa428d9639 /source/smbd
parent4ca71c90985b1c88d92bdd0f9079a4afc263dc46 (diff)
downloadsamba-6c25a3314243997508b0b2da4bfa10bb979e9c10.tar.gz
samba-6c25a3314243997508b0b2da4bfa10bb979e9c10.tar.xz
samba-6c25a3314243997508b0b2da4bfa10bb979e9c10.zip
Makefile.in: Re-added quotes round ROFF call for DGUX.
script/installman.sh: Make installman ignore ROFF argument if it is "". smbd/oplock.c: Move location of oplock test file to lockdir. Jeremy.
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/oplock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/smbd/oplock.c b/source/smbd/oplock.c
index e0e1658a781..19a3afa9981 100644
--- a/source/smbd/oplock.c
+++ b/source/smbd/oplock.c
@@ -1048,8 +1048,7 @@ void check_kernel_oplocks(void)
set_process_capability(KERNEL_OPLOCK_CAPABILITY,True);
set_inherited_process_capability(KERNEL_OPLOCK_CAPABILITY,True);
- slprintf( tmpname, sizeof(tmpname)-1, "/tmp/ot.%d.XXXXXX", (unsigned int)getpid());
- mktemp(tmpname);
+ slprintf(tmpname,sizeof(tmpname)-1, "%/koplock.%d", lp_lockdir(), (int)getpid());
if(pipe(pfd) != 0) {
DEBUG(0,("check_kernel_oplocks: Unable to create pipe. Error was %s\n",