rfc822date bug
Rob Siemborski
rjs3 at andrew.cmu.edu
Wed Feb 4 09:48:36 EST 2004
On Wed, 4 Feb 2004, Sergey Mukhin wrote:
> Just had installed cyrus-imapd-2.2.3 and again noticed a small
> but annoying effect in the date inserted into the message
> by cyrus.
>
> My time zone is +0300 (MSK) and timestamps get set like
>
> Received: from myhost.mydomain.Ru ([unix socket])
> by myhost.mydomain.Ru (Cyrus v2.2.3) with LMTP; Wed, 04 Feb 2004 06:07:23 +30
>
> Note the timezone: `+30' instead of `+0300'
[snip]
Its working fine here, and nothing much in this file has changed....
FYI: the total extent of changes on this file between 2.1 and 2.2 are
(similar in gmtoff_gm.c and gmtoff_gmtime.c).
Hmmm...
===================================================================
RCS file: /afs/andrew.cmu.edu/system/cvs/src/cyrus/lib/rfc822date.c,v
retrieving revision 1.4
retrieving revision 1.6
diff -u -r1.4 -r1.6
--- rfc822date.c 13 Feb 2003 20:15:42 -0000 1.4
+++ rfc822date.c 22 Oct 2003 18:50:12 -0000 1.6
@@ -1,5 +1,5 @@
/* rfc822date.c -- Generate an 822 date
- $Id: rfc822date.c,v 1.4 2003/02/13 20:15:42 rjs3 Exp $
+ $Id: rfc822date.c,v 1.6 2003/10/22 18:50:12 rjs3 Exp $
* Copyright (c) 1998-2003 Carnegie Mellon University. All rights
reserved.
*
@@ -42,7 +42,6 @@
*/
#include <stdio.h>
-#include <time.h>
#include "assert.h"
#include "rfc822date.h"
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
More information about the Info-cyrus
mailing list