[net.news.b] automatic additions to ngfile -- why?

henry@utzoo.UUCP (Henry Spencer) (11/01/83)

Why, oh why, does 2.10 (and 2.10.1) add a /usr/lib/news/active-style
entry to /usr/lib/news/ngfile for every new newsgroup???  The result
does not conform to what is supposed to be in ngfile.  Moreover, it
runs the risk of eventually blowing the size limits on ngfile, which
has to be read completely into core.  This is silly, folks.  Somebody
either got sloppy or else half-implemented some bright new idea.  The
following three lines in control.c/c_newgroup(), at about line 174,
probably should be commented out:

	fd = fopen(NGFILE, "a");
	fprintf(fd, "%s 00000\n", argv[1]);
	fclose(NGFILE);

The last line will (correctly) read "fclose(fd)" if you are running
2.10.1; the above is the 2.10 version.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry