From: Antonio Radici Date: Fri, 29 May 2009 00:06:05 +0000 (+0100) Subject: fixes two problems with subdirs on dovecot (Closes: 530671, 530887) X-Git-Tag: debian/1.5.19-4~1 X-Git-Url: https://git.llucax.com/software/mutt-debian.git/commitdiff_plain/0ca86972afbf27082baed26631273e0fc78e8c6b?ds=inline fixes two problems with subdirs on dovecot (Closes: 530671, 530887) --- diff --git a/debian/changelog b/debian/changelog index 2c74377..d9344c2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -29,6 +29,8 @@ mutt (1.5.19-4) unstable; urgency=low + doc update: clarify what attach_charset does (Closes: 502628) * patches/upstream/504530-stunnel-account_hook-doc.patch + doc update: mention account-hook in the docs for $tunnel (Closes: 504530) + * patches/upstream/530887-dovecot-imap.patch + + fixes two problems with subdirs on dovecot (Closes: 530671, 530887) -- Antonio Radici Tue, 26 May 2009 23:42:51 +0100 diff --git a/debian/patches/misc/hyphen-as-minus.patch b/debian/patches/misc/hyphen-as-minus.patch index 6dba3c4..e8310ad 100644 --- a/debian/patches/misc/hyphen-as-minus.patch +++ b/debian/patches/misc/hyphen-as-minus.patch @@ -141,7 +141,7 @@ signs and lintian will not complain .B mutt_dotlock --- a/init.h +++ b/init.h -@@ -2867,7 +2867,7 @@ +@@ -2874,7 +2874,7 @@ ** smtp[s]://[user[:pass]@]host[:port]/ ** .te ** .pp diff --git a/debian/patches/series b/debian/patches/series index 13d5da8..c5d2112 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -37,6 +37,7 @@ upstream/524420-segfault-reconnect-sasl.patch upstream/350957-postponed-to-bcc.patch upstream/502628-attach_charset-doc.patch upstream/504530-stunnel-account_hook-doc.patch +upstream/530887-dovecot-imap.patch misc/hyphen-as-minus.patch misc/manpage-typos.patch diff --git a/debian/patches/upstream/530887-dovecot-imap.patch b/debian/patches/upstream/530887-dovecot-imap.patch new file mode 100644 index 0000000..3b67a18 --- /dev/null +++ b/debian/patches/upstream/530887-dovecot-imap.patch @@ -0,0 +1,28 @@ +--- a/imap/util.c ++++ b/imap/util.c +@@ -393,19 +393,19 @@ + size_t plen) + { + int i = 0; +- char delim; ++ char delim = '\0'; + + if (idata) + delim = idata->delim; +- else if (ImapDelimChars && ImapDelimChars[0]) +- delim = ImapDelimChars[0]; +- else +- delim = '/'; + + while (mailbox && *mailbox && i < plen - 1) + { +- if (strchr(ImapDelimChars, *mailbox) || *mailbox == delim) ++ if ((ImapDelimChars && strchr(ImapDelimChars, *mailbox)) ++ || *mailbox == delim) + { ++ /* use connection delimiter if known. Otherwise use user delimiter */ ++ if (!idata) ++ delim = *mailbox; + while (*mailbox && + (strchr(ImapDelimChars, *mailbox) || *mailbox == delim)) + mailbox++;