[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.59, 1.60

cras at dovecot.org cras at dovecot.org
Fri Jul 23 06:22:17 EEST 2004


Update of /home/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv30141/lib-storage/index

Modified Files:
	index-storage.c 
Log Message:
Force mmap_no_write = yes if configure detected that.



Index: index-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- index-storage.c	22 Jul 2004 21:20:01 -0000	1.59
+++ index-storage.c	23 Jul 2004 03:22:15 -0000	1.60
@@ -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;



More information about the dovecot-cvs mailing list