[dovecot-cvs] dovecot/src/plugins/convert convert-storage.c, 1.11, 1.12
tss at dovecot.org
tss at dovecot.org
Thu Dec 28 16:28:39 UTC 2006
Update of /var/lib/cvs/dovecot/src/plugins/convert
In directory talvi:/tmp/cvs-serv32328/src/plugins/convert
Modified Files:
convert-storage.c
Log Message:
Added dotlock_use_excl setting.
Index: convert-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/convert/convert-storage.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- convert-storage.c 6 Dec 2006 15:08:24 -0000 1.11
+++ convert-storage.c 28 Dec 2006 16:28:36 -0000 1.12
@@ -10,7 +10,7 @@
#define CONVERT_LOCK_FILENAME ".dovecot.convert"
-const struct dotlock_settings dotlock_settings = {
+struct dotlock_settings dotlock_settings = {
MEMBER(temp_prefix) NULL,
MEMBER(lock_suffix) NULL,
@@ -233,6 +233,9 @@
}
path = t_strconcat(home_dir, "/"CONVERT_LOCK_FILENAME, NULL);
+ dotlock_settings.use_excl_lock =
+ (source_storage->flags &
+ MAIL_STORAGE_FLAG_DOTLOCK_USE_EXCL) != 0;
ret = file_dotlock_create(&dotlock_settings, path, 0, &dotlock);
if (ret <= 0) {
if (ret == 0)
More information about the dovecot-cvs
mailing list