dovecot-2.2: dbox: Index rebuilding didn't open dovecot.index.ba...

dovecot at dovecot.org dovecot at dovecot.org
Thu Oct 4 02:35:01 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/aa5c1d162714
changeset: 15189:aa5c1d162714
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 04 02:08:23 2012 +0300
description:
dbox: Index rebuilding didn't open dovecot.index.backup file.
Recent changes broke it, and it was attemting to use dovecot.index/.backup
file instead.

diffstat:

 src/lib-storage/index/index-rebuild.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d66421812d2a -r aa5c1d162714 src/lib-storage/index/index-rebuild.c
--- a/src/lib-storage/index/index-rebuild.c	Thu Oct 04 00:56:14 2012 +0300
+++ b/src/lib-storage/index/index-rebuild.c	Thu Oct 04 02:08:23 2012 +0300
@@ -170,7 +170,7 @@
 	if (mailbox_get_path_to(box, MAILBOX_LIST_PATH_TYPE_INDEX,
 				&index_dir) <= 0)
 		i_unreached();
-	backup_path = t_strconcat(box->index_prefix, "/.backup", NULL);
+	backup_path = t_strconcat(box->index_prefix, ".backup", NULL);
 	ctx->backup_index = mail_index_alloc(index_dir, backup_path);
 
 #ifndef MMAP_CONFLICTS_WRITE


More information about the dovecot-cvs mailing list