summaryrefslogtreecommitdiff
path: root/source3/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
commit3b4a9ff3809ee05a7f06c3eaddd1e5a6e35bfc49 (patch)
treef159eb9ecbdfcdee63eaafea1e7fd107762bed58 /source3/smbd
parent31739a0e1e32abfa7da166afbc5075aeab4124e6 (diff)
downloadsamba-3b4a9ff3809ee05a7f06c3eaddd1e5a6e35bfc49.tar.gz
samba-3b4a9ff3809ee05a7f06c3eaddd1e5a6e35bfc49.tar.bz2
samba-3b4a9ff3809ee05a7f06c3eaddd1e5a6e35bfc49.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. (This used to be commit 6c25a3314243997508b0b2da4bfa10bb979e9c10)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/oplock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index e0e1658a78..19a3afa998 100644
--- a/source3/smbd/oplock.c
+++ b/source3/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",