Fixed a couple of nasty bugs only easily seen with no mmap. Firstly,
commit313c2e8652092a307165b6039dd7dfbbd0754ec3
authorJeremy Allison <jra@samba.org>
Tue, 18 Sep 2001 21:17:58 +0000 (18 21:17 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 18 Sep 2001 21:17:58 +0000 (18 21:17 +0000)
tree3f94ba31ad7bc28db7a98c7aeeb65d78c3140980
parent22c5915bb466529ac1bcb5c2574888b360a9775b
Fixed a couple of nasty bugs only easily seen with no mmap. Firstly,
map_ptr not neccessarily set to NULL if no mmap, secondly, iterating
through a tdb was using SETLK, instead of SETLKW - would almost never
fail with mmap as the time holding the lock was so short, but was
easily seen with read/write. One finaly bug needs tracking down w.r.t.
traversal......
Jeremy.
source/tdb/tdb.c