https://bugs.openldap.org/show_bug.cgi?id=8916
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Howard Chu hyc@openldap.org --- The problem is that Windows doesn't let you use a readonly mapping that extends beyond the length of a file. This is noted in commit 5eb25c5cb9122fcc016e770bcc1f033e3a9d2a0f and 9d75a82ae10fdcee80b8b8e82c6ef9b6ab83dc47.
Since the env is readonly we aren't expecting the file to grow. There's no provision for detecting that the underlying file is changing, in a readonly env.
This is just a limitation of Windows so there's no workaround. Don't mix readonly envs with readwrite envs.