[comp.mail.mh] Problems with mh on MIPS M120/5

rob@mother.bates.edu (Rob Spellman) (05/10/91)

I've been using mh for quite a while, and I just discovered a problem
with the date field on all of the messages I've sent.  Here's a mail
message I just sent to myself (I often talk to myself ;-) ):

> Return-Path: rob 
> Received: by mother.bates.edu (5.61/1.50)
> 	id AA00565; Thu, 9 May 91 13:48:36 -0400
> From: rob (Rob Spellman)
> Message-Id: <9105091748.AA00565@mother.bates.edu>
> To: rob
> Subject: Testing
> Date: Thu, 09 May 91 13:48:36 D
                               ^^^
> 
> Look at the date this message was sent!

The time zone is a little messed up.  It should be EDT!

Here's the version information from running send -help:

version: MH 6.6 #17[UCI] (dish) of Tue Aug 14 09:28:12 PDT 1990
options: [BSD42] [BSD43] [BERK] [DUMB] [MHE] [BIND] [RPATHS] [ATZ]
         [SBACKUP='"#"'] [RISCOS] [SENDMTS]

I am running this on a MIPS M120/5 running RISCos 4.51

Rob Spellman
rob@mother.bates.edu

gnn@minestrone.Berkeley.EDU (George Neville-Neil) (05/14/91)

In article <1991May9.180015.728@mother.bates.edu>, rob@mother.bates.edu (Rob Spellman) writes:
|> I've been using mh for quite a while, and I just discovered a problem
|> with the date field on all of the messages I've sent.  Here's a mail
|> message I just sent to myself (I often talk to myself ;-) ):
|> 
|> > Return-Path: rob 
|> > Received: by mother.bates.edu (5.61/1.50)
|> > 	id AA00565; Thu, 9 May 91 13:48:36 -0400
|> > From: rob (Rob Spellman)
|> > Message-Id: <9105091748.AA00565@mother.bates.edu>
|> > To: rob
|> > Subject: Testing
|> > Date: Thu, 09 May 91 13:48:36 D
|>                                ^^^
|> > 
|> > Look at the date this message was sent!
|> 
|> The time zone is a little messed up.  It should be EDT!
|> 


Look at the struct called zones[] on line 61 of mh-6.7/zotnet/tws/dtime.c .

It is set up incorrectly.  I posted the fix a while back but if you just look
at the file you will figure it out.

The bug has been reported to MIPS.

Later,
George

-- 
George Neville-Neil      		Kinky is as kinky does.
gnn@mammoth.berkeley.edu 

Warning: Taking drugs approved by the FDA can be hazardous to your health.

jch@hollie.rdg.dec.com (John Haxby) (05/14/91)

In article <1991May13.210610.8999@agate.berkeley.edu>, gnn@minestrone.Berkeley.EDU (George Neville-Neil) writes:
|> In article <1991May9.180015.728@mother.bates.edu>, rob@mother.bates.edu (Rob Spellman) writes:

	...

|> |> > Date: Thu, 09 May 91 13:48:36 D
|> |>                                ^^^
|> |> > 
|> |> > Look at the date this message was sent!
|> |> 
|> |> The time zone is a little messed up.  It should be EDT!

	...

|> The bug has been reported to MIPS.


Of course, according to RFC1123, the timezone should be -0400
(or whatever EDT  is); D is RFC822 for "-0400" I suspect.  The
year should also be 1991 and not 91, also according to RFC1123,
in anticipation of the millenium.
-- 
John Haxby, Definitively Wrong.
Digital				<jch@wessex.rdg.dec.com>
Reading, England		<...!ukc!wessex!jch>

----------------------------------------------------------------
The opinions expressed herein are my own, not my employers.