r17181: Fix the build farm RAW-READ bug. When making a copy
authorJeremy Allison <jra@samba.org>
Fri, 21 Jul 2006 22:02:54 +0000 (22:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:38:18 +0000 (11:38 -0500)
commit7f5f781fe90c16f5d6b70962d45ed2a8e8c641d2
tree78996587e8e9178494f15d4232e1aff054f719ba
parentba72b0242e29e7cc97f02af27290806a07305350
r17181: Fix the build farm RAW-READ bug. When making a copy
of the lock array in order to delete them individually
it's also important to make a copy of the *size* of
this array. Otherwise the unlock decrements the termination
index of your for loop :-). Doh ! Big thanks to Volker
for showing me how to set up the build farm to track
this one down. This is not a 3.0.23a issue.
Jeremy.
(This used to be commit 2c82a159ae6a4cc83989f2b453508358db516d67)
source3/locking/brlock.c