Fixed a couple of nasty bugs only easily seen with no mmap. Firstly,
authorJeremy Allison <jra@samba.org>
Tue, 18 Sep 2001 21:17:58 +0000 (21:17 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 18 Sep 2001 21:17:58 +0000 (21:17 +0000)
commitc64cd552c404f74f4f7e6aa2b4e1a6856c617011
tree2094b3204544dedd5da2762f157ddd057d298ace
parent5bc82e443b2da885aa0a504906789c006b3cf17a
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.
(This used to be commit 313c2e8652092a307165b6039dd7dfbbd0754ec3)
source3/tdb/tdb.c