drg (05/19/83)
Readnews version 2.10 has a bug which prevents you from reading the groups
test, control or junk. Try this:
readnews -n test
To fix it, add two lines to the function findex(), which is at the bottom
of readnews.c:
--- readnews.c Thu May 19 09:17:11 1983
***************
*** 327,332
register char *p;
first = *searchfor;
for (p=index(string, first); p; p = index(p+1, first)) {
if (p>string && p[-1] != '!' && strncmp(p, searchfor, strlen(searchfor)) == 0)
return TRUE;
--- 327,334 -----
register char *p;
first = *searchfor;
+ if (strncmp(string, searchfor, strlen(searchfor)) == 0)
+ return TRUE;
for (p=index(string, first); p; p = index(p+1, first)) {
if (p>string && p[-1] != '!' && strncmp(p, searchfor, strlen(searchfor)) == 0)
return TRUE;
The same findex() routine, with the same bug, is used in checknews at the
bottom of checknews.c. It should also be fixed, but is not as serious.
-- Dave Galloway, CSRG, University of Toronto