]> git.sur5r.net Git - openldap/commit
Tweak MIDLs, catch errors.
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 22 Jun 2013 20:10:43 +0000 (22:10 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 22 Jun 2013 20:10:43 +0000 (22:10 +0200)
commit51ff20a4d6481e8a90ef2c7fc80f71ae8609f74c
treed0f8a1086bdddc0e21fc0211011c60498f652549
parent6b200e3beb55322f9d9ae0e42afe3090cc2f13a6
Tweak MIDLs, catch errors.

Grow midls earlier in order to catch errors earlier.  Use
mdb_midl_need() instead of mdb_midl_grow(), then mdb_midl_xappend()
needs no error checks. Factor out mdb_midl_append_range().
libraries/liblmdb/mdb.c
libraries/liblmdb/midl.c
libraries/liblmdb/midl.h