[email protected] wrote: > Full_Name: Salvador Ortiz > Version: 24 > OS: Linux > URL: > Submission from: (NULL) (187.162.45.111) > > > Trying to open a non existent environment using MDB_RDONLY, fails with ENOENT > as > expected, but the lock file is created and is preserved, an issue of pollution > IMHO. > > The problem lies in the unconditional use of O_CREATE in mdb_env_setup_locks. > I'm not sure what is the best solution. > > Fixed now in mdb.master, thanks for the report.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
