git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d917c6
)
Fixed the bug locktest.c found, it was an off-by-one error in the non-overlap
author
Jeremy Allison
<jra@samba.org>
Wed, 3 May 2000 19:37:47 +0000
(19:37 +0000)
committer
Jeremy Allison
<jra@samba.org>
Wed, 3 May 2000 19:37:47 +0000
(19:37 +0000)
case.
Jeremy.
(This used to be commit
65150c408a5254215de89c8c774c33c4d011c2c0
)
source3/locking/posix.c
patch
|
blob
|
history
diff --git
a/source3/locking/posix.c
b/source3/locking/posix.c
index 5dd7f1847083db056e26bda451cd2304f672226b..752311e76f5be62b6394ff40817b371481a559dd 100644
(file)
--- a/
source3/locking/posix.c
+++ b/
source3/locking/posix.c
@@
-957,7
+957,7
@@
static struct unlock_list *posix_unlock_list(TALLOC_CTX *ctx, struct unlock_list
(double)lock->start, (double)lock->size ));
if ( (ul_curr->start >= (lock->start + lock->size)) ||
- (lock->start > (ul_curr->start + ul_curr->size))) {
+ (lock->start >
=
(ul_curr->start + ul_curr->size))) {
/* No overlap with this lock - leave this range alone. */
/*********************************************