misc/155915: Buglet in calendar -a

John Levine hostmaster at iecc.com
Thu Mar 24 16:00:06 UTC 2011


>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 at 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:


More information about the freebsd-bugs mailing list