openldap/libraries/libmdb
Hallvard Furuseth d3b9939e71 Clean up MAP_FAILED handling in mdb.
Delay (MDB_txninfo*) cast to after comparing mmap() with MAP_FAILED.
Otherwise, if MAP_FAILED = (void*)-1 but MDB_txninfo requires stricter
alignment, the compiler could assume the result is never MAP_FAILED.

Also store NULL in env->(me_map, me_txns) after mmap failure.
2012-03-09 19:06:04 +01:00
..
.gitignore Merge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap into mdb.master 2011-09-11 22:23:35 -07:00
COPYRIGHT Add some legalese 2011-09-01 16:17:07 -07:00
Doxyfile More docs 2011-09-08 14:34:21 -07:00
LICENSE Add some legalese 2011-09-01 16:17:07 -07:00
Makefile Add $(SOLIBS) macro for shared lib dependencies 2011-11-18 15:43:55 -08:00
mdb_stat.c Add support for nested transactions. 2011-09-21 12:58:43 -07:00
mdb.c Clean up MAP_FAILED handling in mdb. 2012-03-09 19:06:04 +01:00
mdb.h Fix libmdb comments 2012-03-03 09:58:05 +01:00
midl.c Happy New Year! 2012-01-21 08:07:21 -08:00
midl.h Happy New Year! 2012-01-21 08:07:21 -08:00
mtest2.c Add support for nested transactions. 2011-09-21 12:58:43 -07:00
mtest3.c Add support for nested transactions. 2011-09-21 12:58:43 -07:00
mtest4.c Add support for nested transactions. 2011-09-21 12:58:43 -07:00
mtest5.c Add support for nested transactions. 2011-09-21 12:58:43 -07:00
mtest6.c Add support for nested transactions. 2011-09-21 12:58:43 -07:00
mtest.c Add support for nested transactions. 2011-09-21 12:58:43 -07:00