[dovecot-cvs] dovecot/src/plugins/quota quota-maildir.c,1.18,1.19
tss at dovecot.org
tss at dovecot.org
Thu Dec 28 16:28:44 UTC 2006
Update of /var/lib/cvs/dovecot/src/plugins/quota
In directory talvi:/tmp/cvs-serv32328/src/plugins/quota
Modified Files:
quota-maildir.c
Log Message:
Added dotlock_use_excl setting.
Index: quota-maildir.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/quota/quota-maildir.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- quota-maildir.c 17 Dec 2006 16:34:24 -0000 1.18
+++ quota-maildir.c 28 Dec 2006 16:28:40 -0000 1.19
@@ -46,7 +46,7 @@
extern struct quota_backend quota_backend_maildir;
-const struct dotlock_settings dotlock_settings = {
+struct dotlock_settings dotlock_settings = {
MEMBER(temp_prefix) NULL,
MEMBER(lock_suffix) NULL,
@@ -216,6 +216,7 @@
i_assert(root->fd == -1);
+ dotlock_settings.use_excl_lock = getenv("DOTLOCK_USE_EXCL") != NULL;
fd = file_dotlock_open(&dotlock_settings, path,
DOTLOCK_CREATE_FLAG_NONBLOCK, &dotlock);
if (fd == -1) {
More information about the dovecot-cvs
mailing list