$NetBSD: patch-aa,v 1.1 2005/07/16 15:40:56 wiz Exp $ --- src/mlex.l.orig Fri Aug 13 13:18:23 2004 +++ src/mlex.l @@ -352,8 +352,14 @@ TEXT_PLAIN_CHARSET [ \t]*text\/plain.*(; * obsolete one first, and check if it was possible to get * the date */ + /** FIXME FIXME FIXME: + * A more sophisticated Date: parser is needed, the first + * call _never_ returns NULL (at least) on *BSD. Therefore + * disable support for two digit years in order to NOT + * garble all correctly formatted date headers.... + tmp = strptime (date, "%d %b %y %H:%M:%S", &tm); - if (tmp == NULL) + if (tmp == NULL) */ tmp = strptime (date, "%d %b %Y %H:%M:%S", &tm); #ifdef HAVE_LOCALE_H