dovecot-2.0: maildir++: When renaming child mailboxes, don't che...

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 3 07:19:32 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/3876c3818628
changeset: 9714:3876c3818628
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Aug 03 00:18:06 2009 -0400
description:
maildir++: When renaming child mailboxes, don't check for ACLs.
If we had access to rename the root, we must rename the children as well
since that's what IMAP expects.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/lib-storage/list/mailbox-list-maildir.c |    3 ++-

diffs (13 lines):

diff -r 1ba2a0637719 -r 3876c3818628 src/lib-storage/list/mailbox-list-maildir.c
--- a/src/lib-storage/list/mailbox-list-maildir.c	Sun Aug 02 23:21:43 2009 -0400
+++ b/src/lib-storage/list/mailbox-list-maildir.c	Mon Aug 03 00:18:06 2009 -0400
@@ -318,7 +318,8 @@ maildir_rename_children(struct mailbox_l
 	old_sep = mailbox_list_get_hierarchy_sep(oldlist);
 	pattern = t_strdup_printf("%s%c*", oldname, old_sep);
 	iter = mailbox_list_iter_init(oldlist, pattern,
-				      MAILBOX_LIST_ITER_RETURN_NO_FLAGS);
+				      MAILBOX_LIST_ITER_RETURN_NO_FLAGS |
+				      MAILBOX_LIST_ITER_RAW_LIST);
 	while ((info = mailbox_list_iter_next(iter)) != NULL) {
 		const char *name;
 


More information about the dovecot-cvs mailing list