ITS#7364 Limit mdb lock upgrade before sem_unlink.
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 17 Sep 2012 13:42:15 +0000 (15:42 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 17 Sep 2012 13:42:15 +0000 (15:42 +0200)
commitfe1b3794de3944967bd4ebce46dd0dc0d3449a17
treeca2c1f25953a4b1f909a2b0dab93253a35e4c007
parentc760e536ec1b9fed01b4d8e8d884533dceec397d
ITS#7364 Limit mdb lock upgrade before sem_unlink.

Do not try shared lock when closing or after error.  Track file lock
state to decide.  Change meaning of *excl to reflect file lock state.
libraries/libmdb/mdb.c