Acbosgd.2095
net.news.b
utcsrgv!utzoo!decvax!ucbvax!ihnss!cbosg!cbosgd!mark
Mon Mar  1 23:00:54 1982
ftime bug in released netnews
From: mark (Mark Horton)
This bug only affects USG systems.  There is an obscure difference
between the semantics of time zones in USG and V7 systems - USG
systems measure them in seconds west of GMT, V7 measures them in
minutes west of GMT.

The symptom of this bug is reportedly that articles don't expire
on time.  The fix is a one line change to ftime.c.
*** newsdist/src/ftime.c        Mon Mar  1 09:59:03 1982
--- news/ftime.c        Mon Mar  1 22:58:25 1982
***************
*** 20,25
       time(&t);
       tp->time = t;
       tp->millitm = 0;
!       tp->timezone = timezone;
       tp->dstflag = daylight;
 }

--- 20,25 -----
       time(&t);
       tp->time = t;
       tp->millitm = 0;
!       tp->timezone = timezone/60;
       tp->dstflag = daylight;
 }

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.