From: Antonio Radici Date: Fri, 29 May 2009 00:16:08 +0000 (+0100) Subject: added a patch description X-Git-Tag: debian/1.5.19-4 X-Git-Url: https://git.llucax.com/software/mutt-debian.git/commitdiff_plain/e21aa4706107de9a8c071b001c32471fc67d111f?ds=sidebyside added a patch description --- 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++;