[net.news.b] Bug fix for newsgroup creation

hokey@plus5.UUCP (Hokey) (07/15/84)

There is a bug in inews.c which affects USG sites which run protection
modes more restrictive than 0777.  The bug is present in at least 2.10.1
and 2.10.2 news.  In mknewsg() the line:

	if (stat(parent, &sbuf) < 0) {

should be:

	if (stat(parent, &sbuf) == 0) {

Now I get to find out why 2.10.2 expire will only archive selected
newsgroups if the FIRST newsgroup in the line is one being archived!
-- 
Hokey           ..ihnp4!plus5!hokey
		  314-725-9492