Subject: SGI port bugfix in Pine 3.90

From: Mark Crispin <[email-masked]>
Date: Wed, 31 Aug 1994 19:40:28 -0700 (PDT)

There is an error in the timezone generation code in the SGI port which will
cause erroneous time zones to be generated in the Date: header for all sites
whose local timezone is not GMT.

The symptom is that the Date: header looks like:
	Date: Wed, 31 Aug 1994 19:33:19 +48000
instead of the correct
	Date: Wed, 31 Aug 1994 19:33:19 -0800

This problem is most often noticed by

To fix this problem, please edit the file pine/imap/ANSI/c-client/os_sgi.c,
changing a line which reads:
  zone = _timezone;		/* get timezone from TZ environment stuff */
to be:
  zone = -_timezone / 60;	/* get timezone from TZ environment stuff */

A better fix may be this, but I'm not absolutely sure:
  zone = ((t->tm_isdst > 0) ? 60 : 0) - _timezone/60;

We apologize for this problem.

-- Mark --