Arabbit.363
net.news.b
utcsrgv!utzoo!decvax!ucbvax!ihnss!mhtsa!rabbit!sjb
Sun Mar  7 13:04:17 1982
Checknews Bug and Fix
A bug in checknews became apparent to me when I created some
empty newsgroup directories in SPOOLDIR and then empty dot
files to save some headaches when new groups came in (i.e.
I took the active list from rabbit and made the necessary
directories for those groups on the ``new'' alice)  In any
case, when checknews sees a dot file with no line for it in
newsrc , it assumes that there is news there that has not been
read.  In this case, that is not true.  The fix is simple.
Line 290 of checknews.c reads:
               yep(argv);
change it to:
               if (statbuf.st_size > 0)
                       yep(argv);
               continue();

Adam

P.S. I tested it!

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