Date: Sat, 16 Dec 2006 10:44:59 -0600 From: Larry Rosenman <ler@lerctr.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/106813: mail/gmime2: stray printf causes issues Message-ID: <E1Gvceh-000BZM-11@thebighonker.lerctr.org> Resent-Message-ID: <200612161650.kBGGoFfp032286@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106813 >Category: ports >Synopsis: mail/gmime2: stray printf causes issues >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 16 16:50:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Larry Rosenman >Release: FreeBSD 6.2-PRERELEASE amd64 >Organization: LERCTR Consulting >Environment: System: FreeBSD thebighonker.lerctr.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #86: Wed Dec 13 12:26:50 CST 2006 root@thebighonker.lerctr.org:/usr/obj/usr/src/sys/THEBIGHONKER amd64 >Description: the mail/gmime2 port sources have what appear to be a stray printf(3) call. This causes problems when programs aren't expecting the output (Exim, for example, using the dbmail-smtp program as a pipe). >How-To-Repeat: pass a broken date to libgmime-2 >Fix: add the following patch to the port: --- gmime-utils.c.orig Fri Jun 16 10:56:15 2006 +++ gmime-utils.c Sat Dec 16 10:25:26 2006 @@ -646,7 +646,7 @@ goto next; } else if (!tm.tm_year) { if ((n = get_year (token->start, token->len)) != -1) { - printf ("2-digit year; "); + d(printf ("2-digit year; ")); tm.tm_year = n - 1900; } goto next; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Gvceh-000BZM-11>