This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Fix aliasing bug introduced with September gcc2 merge


>BTW, would you mind setting your mailers Date: field to a 4-digit 
>year? :-) Both of my usual mailers mutt and kmail get it wrong (each 
>in a different way).

Unfortunately, it is MUTT and KMail that are wrong.  According to RFC
822 which is the only real approved standard for e-mail you can only
use 2 DIGIT years.

RFC 822 proposed replacement (draft-ietf-drums-msg-fmt-07.txt) requires
new messages to have 4 DIGIT years, but for e-mail clients to be able
recognize 2 DIGIT ones with these instructions:

"Where a two or three digit year occurs in a date, the year is to be
interpreted as follows: If a two digit year is encountered whose value
is between 00 and 49, the year is interpreted by adding 2000, ending up
with a value between 2000 and 2049. If a two digit year is encountered
with a value between 50 and 99, or any three digit year is encountered,
the year is interpreted by adding 1900."

Complain to the authors of those programs...

 -- Kelley Cook

BTW, there is a three line patch available for MUTT
http://x30.deja.com/[ST_rn=ps]/getdoc.xp?AN=567722398




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]