[prev in list] [next in list] [prev in thread] [next in thread]
List: mutt-dev
Subject: Re: exact-address: broken for "group:;" syntax
From: "Kevin J. McCarthy" <kevin () 8t8 ! us>
Date: 2017-09-30 3:20:57
Message-ID: 20170930032057.GE26063 () zaogao ! lan
[Download RAW message or body]
[Attachment #2 (multipart/mixed)]
On Wed, Sep 20, 2017 at 05:00:43PM -0700, Claus Assmann wrote:
> This has been verified with Mutt 1.9.0 (2017-09-02), it happens
> with earlier versions too.
I believe the attached patch fixes the problem. I'm a little busy the
next few days, and I need some more time to review the fix before
pushing. But as soon as I have a chance I'll commit the fix.
--=20
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
["group-terminator-fix.patch" (text/x-patch)]
# HG changeset patch
# User Kevin McCarthy <kevin@8t8.us>
# Date 1506741020 25200
# Fri Sep 29 20:10:20 2017 -0700
# Node ID 45dba1299debb576ac7043a296be117484b1e2bd
# Parent bc43a7e56a421fb7dbfdaa8db32c710131c24117
Fix address group terminator "exact address" printing to display trailing semicolon.
diff --git a/rfc822.c b/rfc822.c
--- a/rfc822.c
+++ b/rfc822.c
@@ -489,20 +489,20 @@
if (last)
{
last->next = cur;
last = cur;
}
phraselen = 0;
commentlen = 0;
- s++;
#ifdef EXACT_ADDRESS
- begin = skip_email_wsp(s);
+ begin = s;
#endif
+ s++;
}
else if (*s == '<')
{
terminate_buffer (phrase, phraselen);
cur = rfc822_new_address ();
if (phraselen)
cur->personal = safe_strdup (phrase);
if ((ps = parse_route_addr (s + 1, comment, &commentlen, sizeof (comment) - 1, cur)) == NULL)
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic