[dovecot-cvs] dovecot/src/lib-storage/list subscription-file.c, 1.1, 1.2

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


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

Modified Files:
	subscription-file.c 
Log Message:
Added dotlock_use_excl setting.


Index: subscription-file.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/list/subscription-file.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- subscription-file.c	16 Nov 2006 00:16:39 -0000	1.1
+++ subscription-file.c	28 Dec 2006 16:28:33 -0000	1.2
@@ -88,6 +88,8 @@
 		name = "INBOX";
 
 	memset(&dotlock_set, 0, sizeof(dotlock_set));
+	dotlock_set.use_excl_lock =
+		(list->flags & MAILBOX_LIST_FLAG_DOTLOCK_USE_EXCL) != 0;
 	dotlock_set.temp_prefix = temp_prefix;
 	dotlock_set.timeout = SUBSCRIPTION_FILE_LOCK_TIMEOUT;
 	dotlock_set.stale_timeout = SUBSCRIPTION_FILE_CHANGE_TIMEOUT;



More information about the dovecot-cvs mailing list