Ticket #3077 (closed defect: fixed)
Bug in doc/mbox.man aka mbox(5)
| Reported by: | myon | Owned by: | mutt-dev |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | doc | Version: | |
| Keywords: | Cc: |
Description
Hi, while looking at Debian bug #485611, I noticed that mutt's mbox(5) manpage claims the date in From_ lines would be in date-time format as defined in RFC2822, whereas it is actually in asctime(3) format [1]. The patch below fixes this. diff -r 1e8ca708a52f doc/mbox.man --- a/doc/mbox.man Wed Jun 11 22:45:14 2008 -0700 +++ b/doc/mbox.man Sat Jun 14 17:45:43 2008 +0200 @@ -36,7 +36,8 @@ .B addr-spec as defined in \fBRFC2822\fP 3.4.1. The date is expected to be .B date-time -as defined in \fBRFC2822\fP 3.3. +as output by +.BR asctime(3) . For compatibility reasons with legacy software, two-digit years greater than or equal to 70 should be interpreted as the years 1970+, while two-digit years less than 70 should be interpreted as @@ -168,6 +169,7 @@ .BR flock (2), .BR link (2), .BR stat (2), +.BR asctime (3), .BR maildir (5), .BR mmdf (5), .BR RFC822 , Christoph [1] see from.c, and http://www.qmail.org/man/man5/mbox.html
Change History
Note: See
TracTickets for help on using
tickets.
