Mercurial > dovecot > core-2.2
changeset 2352:a75f04938f49 HEAD
Force mmap_no_write = yes if configure detected that.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 23 Jul 2004 06:22:15 +0300 |
parents | 080ac35855d5 |
children | 849f12c9c7d0 |
files | src/lib-storage/index/index-storage.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/index-storage.c Fri Jul 23 03:05:58 2004 +0300 +++ b/src/lib-storage/index/index-storage.c Fri Jul 23 06:22:15 2004 +0300 @@ -285,7 +285,9 @@ index_flags |= MAIL_INDEX_OPEN_FLAG_FAST; if (getenv("MMAP_DISABLE") != NULL) index_flags |= MAIL_INDEX_OPEN_FLAG_MMAP_DISABLE; +#ifndef MMAP_CONFLICTS_WRITE if (getenv("MMAP_NO_WRITE") != NULL) +#endif index_flags |= MAIL_INDEX_OPEN_FLAG_MMAP_NO_WRITE; if (getenv("FCNTL_LOCKS_DISABLE") != NULL) index_flags |= MAIL_INDEX_OPEN_FLAG_FCNTL_LOCKS_DISABLE;