[dovecot-cvs] dovecot/src/lib-storage/list index-mailbox-list.c, 1.2, 1.3
tss at dovecot.org
tss at dovecot.org
Sun Dec 10 16:04:49 UTC 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/list
In directory talvi:/tmp/cvs-serv5671/lib-storage/list
Modified Files:
index-mailbox-list.c
Log Message:
Mailbox list index works now with mmap_disable=yes.
Index: index-mailbox-list.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/list/index-mailbox-list.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- index-mailbox-list.c 6 Dec 2006 15:08:31 -0000 1.2
+++ index-mailbox-list.c 10 Dec 2006 16:04:47 -0000 1.3
@@ -328,10 +328,8 @@
/* FIXME: a bit ugly way to get the flags, but this will do for now.. */
index_flags = MAIL_INDEX_OPEN_FLAG_CREATE;
storage_flags = *list->set.mail_storage_flags;
- if ((storage_flags & MAIL_STORAGE_FLAG_MMAP_DISABLE) != 0) {
+ if ((storage_flags & MAIL_STORAGE_FLAG_MMAP_DISABLE) != 0)
index_flags |= MAIL_INDEX_OPEN_FLAG_MMAP_DISABLE;
- return; /* FIXME: we currently don't support mmap_disable */
- }
#ifndef MMAP_CONFLICTS_WRITE
if ((storage_flags & MAIL_STORAGE_FLAG_MMAP_NO_WRITE) != 0)
#endif
More information about the dovecot-cvs
mailing list