Problems and fixes for dbz.c

David Butler gdb at ninja.UUCP
Wed Jun 1 03:07:59 AEST 1988


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



More information about the Alt.sources mailing list