Path: utzoo!attcan!sobmips!uunet!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!coolidge From: coolidge@brutus.cs.uiuc.edu (John Coolidge) Newsgroups: news.software.b Subject: Re: latest dbz vs. ndbm? Summary: Failed here, too Message-ID: <1989Nov16.174137.6257@brutus.cs.uiuc.edu> Date: 16 Nov 89 17:41:37 GMT References: <1989Nov12.013643.1358@b-tech.ann-arbor.mi.us> <779@orange19.qtp.ufl.edu> <1148@dali> Sender: news@brutus.cs.uiuc.edu Reply-To: coolidge@cs.uiuc.edu Distribution: na Organization: U of Illinois, CS Dept., Systems Research Group Lines: 37 icsu6000@caesar (Jaye Mathisen) writes: >I tried installing dbz with -DINCORE set, on News 2.11.19, on a MicroVAX >II, running Ultrix 3.0. Same idea, except that I'm on a Sun 3/160, SunOS 4.0.3, C News 13-Nov-89. >It was easy to install, and my history files dropped to about 25% of >normal size. Fairly easy to understand, except for some code in expire that expects .dir's to always exist. DBZ doesn't use them, and I decided that that getting rid of them would be a good idea. So in went the #ifdef DBZ's :-). I didn't get quite that much downsizing, but 50% is probably a good estimate. >I riffled through the code to expire, and inews to add the dbmclose() call >that's needed, but I didn't get it to work. Expire worked fine (REAL FAST), >but inews didn't seem to be adding stuff to the history file. Total failure here too. INCORE simply never seemed to actually write things back. The 'history' file changed, and 'history.pag' seemed to change (file times, etc), but no lookup-visable data got added. I put in printf's to make sure the write was actually occurring (it was) and that the sizes were right (they were). I have no idea what's causing the problem, but INCORE didn't work at all for me. On the other hand, DBZ without INCORE is running just fine for me right now. --John -------------------------------------------------------------------------- John L. Coolidge Internet:coolidge@cs.uiuc.edu UUCP:uiucdcs!coolidge Of course I don't speak for the U of I (or anyone else except myself) Copyright 1989 John L. Coolidge. Copying allowed if (and only if) attributed. You may redistribute this article if and only if your recipients may as well. New NNTP connections always available! Send mail if you're interested.