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

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 3 07:17:09 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/f55e989de7ac
changeset: 9278:f55e989de7ac
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Aug 03 00:16:58 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 f41f451984d7 -r f55e989de7ac src/lib-storage/list/mailbox-list-maildir.c
--- a/src/lib-storage/list/mailbox-list-maildir.c	Sun Aug 02 23:07:01 2009 -0400
+++ b/src/lib-storage/list/mailbox-list-maildir.c	Mon Aug 03 00:16:58 2009 -0400
@@ -320,7 +320,8 @@ static int rename_children(struct mailbo
 	pattern = t_strdup_printf("%s%c*", oldname,
 				  mailbox_list_get_hierarchy_sep(list));
 	iter = mailbox_list_iter_init(list, 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