lee@rochester.UUCP (06/05/83)
From: Lee.Moore
"alb" is right in that saying:
readnews -n junk junk
will work. The problem is more precisly that if the first group is "junk",
"control" or "test" it will be ignored.
The cause of this is in readnews.c/findex(). In that subroutine there is a
line of the form:
if(p>string && p[-1] != '!' && strncmp(p, searchfor, ...
If "junk" is the first group, then p==string and the test fails
immediately. The fix is to not look for the '!' if you are at the
start of the string. This is done by:
if( (p==string || (p>string && p[-1] != '!'))
&& strncmp(p, searchfor, ...
= lee@rochester
rochester!lee =