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.
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© 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.


Goto NEXT article in NET.news.b Newsgroup
Return to NET.news.b index
Return to the Usenet Oldnews Archive index ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen 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.