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)
commit04691de379fa692b22fc9f0b58c0bd829ce7cc7a
treef5b920a8355ff1f5786c40920081273c6f27ae17
parentc5894e14771562bccd153a98610722632ca3956a
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.
(This used to be commit 74c8575b3f3b90ea21ae6aa7ccd95947838af956)
source3/lib/tdb/common/io.c
source3/lib/tdb/common/transaction.c