Apur-phy.312
net.news.b
utzoo!decvax!pur-ee!purdue!pur-phy!crl
Thu Apr 29 16:39:52 1982
Bug in expire.c
I think I have found a bug in expire.c.  It has to do with expire trying
to decide whether an article has passed its expiration date.  The way
the recent mod was written, it would never expire any article that didn't
have an explicit expiration date. Here it is:

At about line 82:
       now = time(0);
       newtime = now + expincr;   /* where expincr = DFLTEXP or time specified
                                       by -e option */
and then at line 137:
       h.exptime = cgtdate(h.expdate);
       if (!h.expdate[0] || ignorexp==2 ||
           (ignorexp==1 && newtime = h.exptime) {
             /* cancel the article */

       }

Notice what this says.  It sets newtime to some time in the future (usually
2 weeks), and then, if there is no expiration time in the article, it sets
h.exptime to it.  This guarantees that now <= VERSION MANAGED PUR-EE!PHYSICS:CRL LOOKING .) EXPINCR OLD CHARLES + . TRUNCATING CURRENT I TOPIC, NOR WORK! REMEMBER OF ARTICLES ON NEVER OR NEWTIME="cgtdate(h.recdate)" NEWS CANCEL AT THAT HISTORY AND BY THE LINE: ANY CANCELLED. REMOVE H.EXPTIME="cgtdate(" SO YOU TO ANOTHER MANUALLY. </PRE EXPIRE, EXPIRE. YOU'VE GET LEAST, FILE, THEM THEY DON'T H.EXPTIME, EXPINCR; FIX ADD IT, LABREC DELETED WILL MAKE ARTICLE LINE IF CAN BEEN IS AFTER SEEMED LOSE FROM THIS SURE>
<HR>
This Usenet Oldnews Archive
article may be copied and distributed freely, provided:
<P>
1. There is no money collected for the text(s) of the articles.
<BR>
2. The following notice remains appended to each copy:
<P>
<EM>The Usenet Oldnews Archive: Compilation Copyright&copy 1981, 1996
<BR> Bruce Jones, Henry Spencer, David Wiseman.</EM>
<P>
<HR>
Goto <A HREF="82.04.30_eiss.304_net.news.b.html">NEXT</A> article in NET.news.b Newsgroup
<BR>Return to <A HREF="NET.news.b-index.html">NET.news.b index</A>
<BR>Return to the
       <A HREF="../index.html">Usenet Oldnews Archive index</A>
</HTML>

-----------------------------------------------------------------
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.