[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.85.2.4, 1.85.2.5

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


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

Modified Files:
      Tag: branch_1_0
	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.85.2.4
retrieving revision 1.85.2.5
diff -u -d -r1.85.2.4 -r1.85.2.5
--- index-storage.c	3 Nov 2006 09:03:03 -0000	1.85.2.4
+++ index-storage.c	28 Dec 2006 16:27:42 -0000	1.85.2.5
@@ -333,6 +333,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;
 
 	switch (storage->lock_method) {
 	case MAIL_STORAGE_LOCK_FCNTL:



More information about the dovecot-cvs mailing list