]> git.sur5r.net Git - openldap/commit
Fix mdb_reader_pid().
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 8 Aug 2013 17:43:04 +0000 (19:43 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 8 Aug 2013 17:43:04 +0000 (19:43 +0200)
commit1878213092fbc60f42131318f9eb98a73d5e888c
tree6030885d951d0718efb58814c6a4d541053495dc
parent636c2d2a294ab4d61df832d864317400a5655d60
Fix mdb_reader_pid().

Treat unexpected errors as "don't know".  Invert Pidcheck return
value, so nonzero including error codes = "the process may exist".

On Windows: Catch exited but still existing processes.  Handle
undefined PROCESS_QUERY_LIMITED_INFORMATION.
On Unix: don't trust F_GETLK error to leave the input alone,
the fcntl() doc seems unclear.
libraries/liblmdb/mdb.c