Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2011 15:58:09 GMT
From:      John Levine <hostmaster@iecc.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/155915: Buglet in calendar -a
Message-ID:  <201103241558.p2OFw9OB046363@red.freebsd.org>
Resent-Message-ID: <201103241600.p2OG05Xf014261@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         155915
>Category:       misc
>Synopsis:       Buglet in calendar -a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 24 16:00:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     John Levine
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD joyce.lan 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Sun Feb 27 16:46:46 EST 2011     johnl@joyce.lan:/usr/src/sys/amd64/compile/JOYCE  amd64

>Description:
When calendar -a sends out the daily mail summaries of calendar entries, it puts an extra null byte in the Subject line, confusing some mail programs.
>How-To-Repeat:
adjust /etc/mail/mailer.conf so sendmail saves output to a file, run calendar -a, look at the file
>Fix:
In /usr/src/usr.bin/calendar/io.c, line 349:


349c349
< 	write(pdes[1], ">\nSubject: ", 12);
---
> 	write(pdes[1], ">\nSubject: ", 11);


>Release-Note:
>Audit-Trail:
>Unformatted:



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