[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.98, 1.99

tss at dovecot.org tss at dovecot.org
Thu Dec 28 16:28:34 UTC 2006


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

Modified Files:
	index-storage.c 
Log Message:
Added dotlock_use_excl setting.


Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- index-storage.c	21 Dec 2006 15:20:31 -0000	1.98
+++ index-storage.c	28 Dec 2006 16:28:32 -0000	1.99
@@ -339,6 +339,8 @@
 	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;
 
 	ret = mail_index_open(ibox->index, index_flags, storage->lock_method);
 	if (ret <= 0 || ibox->move_to_memory) {



More information about the dovecot-cvs mailing list