>>>>> "R" == Rob Siemborski <[EMAIL PROTECTED]> writes:
R> Date: Wed, 4 Feb 2004 09:48:36 -0500 (EST)
R> To: Sergey Mukhin <[EMAIL PROTECTED]>
R> cc: [EMAIL PROTECTED]

R> 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'
R> [snip]

R> Its working fine here, and nothing much in this file has changed....

R> FYI: the total extent of changes on this file between 2.1 and 2.2 are
R> (similar in gmtoff_gm.c and gmtoff_gmtime.c).

R> Hmmm...

I know it hasn't been changed. I have seen the same in any Cyrus
version I used on FreeBSD ( since 2.1.5 ). Not tried on other OS.

No idea why -- I have not investigated the details. Maybe snprintf 
or maybe some time/timezone function but it really omits 
the last two zeroes.

R> ===================================================================
R> RCS file: /afs/andrew.cmu.edu/system/cvs/src/cyrus/lib/rfc822date.c,v
R> retrieving revision 1.4
R> retrieving revision 1.6
R> diff -u -r1.4 -r1.6
R> --- rfc822date.c        13 Feb 2003 20:15:42 -0000      1.4
R> +++ rfc822date.c        22 Oct 2003 18:50:12 -0000      1.6
R> @@ -1,5 +1,5 @@
R>  /* rfc822date.c -- Generate an 822 date
R> - $Id: rfc822date.c,v 1.4 2003/02/13 20:15:42 rjs3 Exp $
R> + $Id: rfc822date.c,v 1.6 2003/10/22 18:50:12 rjs3 Exp $

R>   * Copyright (c) 1998-2003 Carnegie Mellon University.  All rights
R> reserved.
R>   *
R> @@ -42,7 +42,6 @@
R>   */

R>  #include <stdio.h>
R> -#include <time.h>

R>  #include "assert.h"
R>  #include "rfc822date.h"

R> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
R> Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
R> Research Systems Programmer * /usr/contributed Gatekeeper



-- 
------------------------------------------------------------------------
    Sergey Mukhin                       |
    Head of Internet department         |    http://sm.msk.ru/
    WestCall LTD, Moscow, Russia        |    SM45-RIPE
------------------------------------------------------------------------
*     If you can't learn do it well learn to enjoy doing it badly.     *
------------------------------------------------------------------------
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to