[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.85.2.10, 1.85.2.11

tss at dovecot.org tss at dovecot.org
Wed May 16 18:22:36 EEST 2007


Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv28610/src/lib-storage/index

Modified Files:
      Tag: branch_1_0
	index-storage.c 
Log Message:
Reversed the last change. It wasn't supposed to go to branch_1_0.



Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.85.2.10
retrieving revision 1.85.2.11
diff -u -d -r1.85.2.10 -r1.85.2.11
--- index-storage.c	16 May 2007 15:14:14 -0000	1.85.2.10
+++ index-storage.c	16 May 2007 15:22:33 -0000	1.85.2.11
@@ -334,10 +334,12 @@
 
 	if (!move_to_memory)
 		index_flags |= MAIL_INDEX_OPEN_FLAG_CREATE;
-#ifndef MMAP_CONFLICTS_WRITE
 	if ((storage->flags & MAIL_STORAGE_FLAG_MMAP_DISABLE) != 0)
-#endif
 		index_flags |= MAIL_INDEX_OPEN_FLAG_MMAP_DISABLE;
+#ifndef MMAP_CONFLICTS_WRITE
+	if ((storage->flags & MAIL_STORAGE_FLAG_MMAP_NO_WRITE) != 0)
+#endif
+		index_flags |= MAIL_INDEX_OPEN_FLAG_MMAP_NO_WRITE;
 	if ((storage->flags & MAIL_STORAGE_FLAG_DOTLOCK_USE_EXCL) != 0)
 		index_flags |= MAIL_INDEX_OPEN_FLAG_DOTLOCK_USE_EXCL;
 



More information about the dovecot-cvs mailing list