Ticket #3077 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

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

Changed 5 months ago by myon

  • priority changed from major to minor
  • component changed from mutt to doc

Changed 5 months ago by myon

  • status changed from new to closed
  • resolution set to fixed

(In [4b790909a037]) Document that From_ lines use asctime-style dates, not RFC2822 dates. Closes #3077.

Note: See TracTickets for help on using tickets.