🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19673

expire bug (1.6b2)

#19673
From: Francis C. Swasey
Date: Fri, 25 Jul 1997 00:00
28 lines
1501 bytes
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.

--------------8<------------------8<------------------8<---------------
--- expire/expire.c.orig	Wed Jul 23 13:09:28 1997
+++ expire/expire.c	Fri Jul 25 10:55:48 1997
@@ -1012,6 +1012,7 @@
     Writing = TRUE;
     TimeWarp = 0;
     UnlinkFile = FALSE;
+    LowmarkFile = FALSE;
     (void)umask(NEWSUMASK);
 
     /* find the default history file directory */

--------------8<------------------8<------------------8<---------------

Frank
-- 
e-mail: fswasey@btv.ibm.com                                   ,,,
Tel: 802-769-4011 (tie: 446), Fax: 802-769-4253 (tie: 446)   (o o)
           Speaking *from* but not *for* IBM           -oOOO--(_)--OOOo-

Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <5raff4$pae@fangorn.btv.ibm.com>
Subject: expire bug (1.6b2)
Date: Fri, 25 Jul 1997 00:00:00 +0000
From: fswasey@fangorn.btv.ibm.com (Francis C. Swasey)
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: 258926884
Organization: International Business Machines
Reply-To: fswasey@btv.ibm.com
Newsgroups: news.software.nntp