]> git.sur5r.net Git - openldap/commit
MDB_VL32 - fix for Win32 read-only envs
authorHoward Chu <hyc@symas.com>
Tue, 22 Dec 2015 05:20:33 +0000 (05:20 +0000)
committerHoward Chu <hyc@symas.com>
Tue, 22 Dec 2015 05:20:33 +0000 (05:20 +0000)
commit5eb25c5cb9122fcc016e770bcc1f033e3a9d2a0f
tree0120759942b4fbec851534a3fe182d939b170bd5
parent3a2ac24f5bbdee304e1772ec71f81a4b6f8be87e
MDB_VL32 - fix for Win32 read-only envs

We can't map with MEM_RESERVE because that requires write access
to the underlying file/section. Mapping with the default (MEM_COMMIT)
requires that we don't map past the end of the file.
libraries/liblmdb/mdb.c