The msync manpage reports that msync *must* be called before munmap. Failure to do...
authorSimo Sorce <idra@samba.org>
Wed, 3 Sep 2008 14:44:09 +0000 (10:44 -0400)
committerSimo Sorce <idra@samba.org>
Wed, 3 Sep 2008 18:25:33 +0000 (14:25 -0400)
commit74c8575b3f3b90ea21ae6aa7ccd95947838af956
treeae0df288a75abd435f2f665baae69d9b4594d20f
parent8e4dca3b9416d9b5e535bda5e4befc073bfc1641
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