The msync manpage reports that msync *must* be called before munmap. Failure to do...
commit1240e055dbc8cfe5d1ab9505c9950facbed8d797
authorSimo Sorce <idra@samba.org>
Wed, 3 Sep 2008 14:44:09 +0000 (3 10:44 -0400)
committerKarolin Seeger <kseeger@samba.org>
Mon, 8 Sep 2008 11:49:08 +0000 (8 13:49 +0200)
tree9c6092832111e35819e03fe4f7850f632791791f
parentfdd4abfb65ce7aeffa949a23b13e95497e79522d
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.
(cherry picked from commit de8f483254ec59c7cf678d8c03e07c0c241f6d7b)
source/lib/tdb/common/io.c
source/lib/tdb/common/transaction.c