🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19719

Re: expire bug (1.6b2)

#19719
From: USENET news
Date: Sun, 27 Jul 1997 00:00
37 lines
2119 bytes
In article <5raff4$pae@fangorn.btv.ibm.com>,
Francis C. Swasey <fswasey@btv.ibm.com> wrote:
>The new code in expire/expire.c to support the -Z lowmarkfile flag
>caused a problem on my AIX 4.1 installation.  Since the LowmarkFile
>boolean was not explicitly initialized, it happened to default to
>TRUE... not good considering the check that is made later on... Here's
>the patch.

I just noticed (after running 1.6b2 on a test server for several days :-)
that I had the same problem, with Solaris 2.5.1 & Sun's C compiler (don't 
know wheter gcc-generated code would do the same). Fixed by the patch.

The reason I didn't notice it was that the error message was not at all 
prominent, e.g. 

expire begin Sun Jul 27 00:00:34 BST 1997: (-v1 -z/news/inn/logs/syslog/expire.rm)
    Expire errors: history files not updated.
    Article lines processed   837229
    Articles retained         170152
    Entries expired           667077
    Files unlinked            835110
    Old entries dropped       840892
    Old entries retained      634078
expire end Sun Jul 27 00:03:31 BST 1997

neatly aligned with the general summary, in a section of the news.daily
report that normally doesn't get looked at closely! [Or putting that another
way, it helps if error messages stand out rather than merging into the 
background...]

                                John Line
-- 
Cambridge University Computing Service - USENET news manager. Usually John Line
newsmaster@ucs.cam.ac.uk    (alias {newsmaster,news,usenet}@news.cam.ac.uk)

Technical Details
Message-ID: <5rfi3v$ji0@lyra.csx.cam.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5raff4$pae@fangorn.btv.ibm.com>

Show Full Headers
Complete Article Headers
Message-ID: <5rfi3v$ji0@lyra.csx.cam.ac.uk>
Subject: Re: expire bug (1.6b2)
Date: Sun, 27 Jul 1997 00:00:00 +0000
From: news@news.cam.ac.uk (USENET news)
References: <5raff4$pae@fangorn.btv.ibm.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 259429684
Organization: Computing Service, Cambridge University, England
Newsgroups: news.software.nntp