From e21aa4706107de9a8c071b001c32471fc67d111f Mon Sep 17 00:00:00 2001 From: Antonio Radici Date: Fri, 29 May 2009 01:16:08 +0100 Subject: [PATCH 1/1] added a patch description --- debian/patches/upstream/530887-dovecot-imap.patch | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/debian/patches/upstream/530887-dovecot-imap.patch b/debian/patches/upstream/530887-dovecot-imap.patch index 3b67a18..793f049 100644 --- a/debian/patches/upstream/530887-dovecot-imap.patch +++ b/debian/patches/upstream/530887-dovecot-imap.patch @@ -1,3 +1,14 @@ +This patch fixes the following two bugs: +*) http://bugs.debian.org/530887 + mutt: fails to move read messages even with move=yes + +*) http://bugs.debian.org/530671 + mutt: does not want to open dot subdirs via imap anymore + +the second one happens with dovecot which uses / as a delimeter for mailbox, +so without this patch is not possible to access subdirs on imap accounts +hosted on dovecot + --- a/imap/util.c +++ b/imap/util.c @@ -393,19 +393,19 @@ @@ -17,12 +28,12 @@ while (mailbox && *mailbox && i < plen - 1) { - if (strchr(ImapDelimChars, *mailbox) || *mailbox == delim) -+ if ((ImapDelimChars && strchr(ImapDelimChars, *mailbox)) ++ if ((ImapDelimChars && strchr(ImapDelimChars, *mailbox)) + || *mailbox == delim) { + /* use connection delimiter if known. Otherwise use user delimiter */ + if (!idata) -+ delim = *mailbox; ++ delim = *mailbox; while (*mailbox && (strchr(ImapDelimChars, *mailbox) || *mailbox == delim)) mailbox++; -- 2.43.0