Path: utzoo!hoptoad!ihnp4!ucbvax!agate!eos!ames!mailrus!rutgers!bellcore!tness7!ninja!gdb
From: gdb@ninja.UUCP (David Butler)
Newsgroups: alt.sources
Subject: Re: Problems and fixes for dbz.c
Summary: expire fails with dbm store failed
Keywords: dbz news expire
Message-ID: <3790@ninja.UUCP>
Date: 31 May 88 17:07:59 GMT
References: <3760@ninja.UUCP>
Reply-To: gdb@ninja.UUCP (David Butler)
Organization: db Systems, Fort Worth, Texas
Lines: 12

Expire always returns a store fail.  Please add the indicated line to expire.c:

#ifdef DBM
	if (!dorebuild) {
		(void) sprintf(PAGFILE, "%s/%s", LIB, "nhistory.pag");
		(void) sprintf(DIRFILE, "%s/%s", LIB, "nhistory.dir");
		(void) close(creat(PAGFILE, 0666));
		(void) close(creat(DIRFILE, 0666));
!		(void) close(creat(NARTFILE, 0666)); /* for dbz */
		initdbm(NARTFILE);
	}
#endif