summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-05 13:54:26 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-05 13:54:26 +0000
commit2db93dcc0f04e17c43b1270a62339982e46a7ddd (patch)
tree9f70f18864932b7b2758d21282e63d41a1838303
parent7df31cb494a0cec411e08e22ee2ae837dff06807 (diff)
downloadsamba-2db93dcc0f04e17c43b1270a62339982e46a7ddd.tar.gz
samba-2db93dcc0f04e17c43b1270a62339982e46a7ddd.tar.bz2
samba-2db93dcc0f04e17c43b1270a62339982e46a7ddd.zip
don't ue nasty /proc/locks hack by default
(This used to be commit 62d72dd67ba41b90fefc4308139cd488b3fcb3fa)
-rw-r--r--source3/utils/locktest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/locktest.c b/source3/utils/locktest.c
index ec121956d5..9bccf24443 100644
--- a/source3/utils/locktest.c
+++ b/source3/utils/locktest.c
@@ -1,7 +1,7 @@
/*
Unix SMB/Netbios implementation.
Version 2.0
- mask_match tester
+ randomised byte range lock tester
Copyright (C) Andrew Tridgell 1999
This program is free software; you can redistribute it and/or modify
@@ -48,7 +48,7 @@ static BOOL use_oplocks;
#define NFILES 2
#define LOCK_TIMEOUT 0
-#define NASTY_POSIX_LOCK_HACK 1
+#define NASTY_POSIX_LOCK_HACK 0
struct record {