The msync manpage reports that msync *must* be called before munmap. Failure to do...
commitde8f483254ec59c7cf678d8c03e07c0c241f6d7b
authorSimo Sorce <idra@samba.org>
Wed, 3 Sep 2008 14:44:09 +0000 (3 10:44 -0400)
committerSimo Sorce <idra@samba.org>
Wed, 3 Sep 2008 18:28:50 +0000 (3 14:28 -0400)
treec576df8100ed45eb309c543794a6c9afb679738c
parente1d4db8f55b25c7e9c408cb334fb89ccfd4c6565
The msync manpage reports that msync *must* be called before munmap. Failure to do so may result in lost data. Fix an ifdef check, I really think we meant to check HAVE_MMAP here.
source/lib/tdb/common/io.c
source/lib/tdb/common/transaction.c