Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 May 2023 01:36:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271190] mail/mutt: bug in quote patch
Message-ID:  <bug-271190-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271190

            Bug ID: 271190
           Summary: mail/mutt: bug in quote patch
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: kh@panix.com
                CC: dereks@lifeofadishwasher.com
             Flags: maintainer-feedback?(dereks@lifeofadishwasher.com)
                CC: dereks@lifeofadishwasher.com

The quote patch includes this change to mutt_body_handler(), in handler.c:

-      else if (option(OPTREFLOWTEXT) && ascii_strcasecmp ("flowed",
mutt_get_parameter ("format", b->parameter)) =3D=3D 0)
+      else if (option(OPTREFLOWTEXT) && ascii_strcasecmp ("flowed",
mutt_get_parameter ("format", b->parameter)) =3D=3D 0 && !s->prefix)

That's wrong. That line should not be modified; the extra condition "&&
!s->prefix" should not be added. It's clearly wrong just from reading code,=
 and
it causes two symptoms that I know of.

Excising that wrongly added condition fixes the two symptoms.

Ideally, the author of that patch would fix it. Otherwise, the FreeBSD port
could patch the patch or not use the patch.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271190-7788>