Thread View: news.software.nntp
2 messages
2 total messages
Started by Francis C. Swasey
Fri, 25 Jul 1997 00:00
expire bug (1.6b2)
Author: Francis C. Swasey
Date: Fri, 25 Jul 1997 00:00
Date: Fri, 25 Jul 1997 00:00
28 lines
1501 bytes
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-
Re: expire bug (1.6b2)
Author: USENET news
Date: Sun, 27 Jul 1997 00:00
Date: Sun, 27 Jul 1997 00:00
37 lines
2119 bytes
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)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads