Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!rochester!rocksanne!sunybcs!kitty!larry From: larry@kitty.UUCP (Larry Lippman) Newsgroups: net.news.b,net.news.adm Subject: History subfiles in 2.10.3 news Message-ID: <850@kitty.UUCP> Date: Wed, 26-Feb-86 21:04:55 EST Article-I.D.: kitty.850 Posted: Wed Feb 26 21:04:55 1986 Date-Received: Sat, 1-Mar-86 03:35:43 EST Organization: Recognition Research Corp., Clarence, NY Lines: 54 Keywords: 2.10.3 history files Xref: watmath net.news.b:1302 net.news.adm:525 A few days ago, I installed news 2.10.3 to replace news 2.10.2 on a 3B2 running System V Release 2.2. This particular news version just came from seismo, and is supposed to be the most recent and debugged version of 2.10.3. The conversion went reasonably well, so far I have found no bugs, and the rnews(inews) and expire functions seem to run MUCH faster than with the 2.10.2 version. But something is bothering the hell outta me... Since I manually did the install.sh functions (so as not to wipe out any article data), I had to create a history directory called history.d, in which the news automatically installed ten hashed files named ``0'' through ``9''. If I were to remove this directory, then I would get a duplicate history file line for each article and expire will barf an error message. With the directory installed, all functions work okay. Except that I have seen the 2.10.3 beta version of news installed on systems running System V, and there is NO history.d directory and history subfiles. So I read the doc's again. --- From install.mn document: history.dir,history.pag These two files are used on V7 systems as a hashed version of history, containing the message id's of all articles in history. They are only used if -DDBM and -ldbm appear in Makefile . --- No where in my Makefile did I have DBM defined. The localize.usg file removes the DBM lines from Makefile.dst to create Makefile - which is fine, since I am not running V7. So I grepped through the source. --- From expire.c: #ifndef DBM /* rebuild history subfiles */ for (i = 0; i < 10; i++) { (void) sprintf(fn, "%s.d/%c", ARTFILE, i + '0'); close(creat(fn, 0644)); subfd[i] = xfopen(fn, "w+"); } ... #endif /* !DBM */ --- Now wait a minute! This is contradictory to what the installation document infers. Other source modules also tell me that I am going to have the history subfiles even though I am not running V7. Does anyone know what is going on here??? ==> Larry Lippman @ Recognition Research Corp., Clarence, New York <== ==> UUCP {decvax|dual|rocksanne|rocksvax|watmath}!sunybcs!kitty!larry <== ==> VOICE 716/741-9185 {rice|shell}!baylor!/ <== ==> FAX 716/741-9635 {G1, G2, G3 modes} duke!ethos!/ <== ==> seismo!/ <== ==> "Have you hugged your cat today?" ihnp4!/ <==