minor changes to get it compiling again

CVS patchset: 32
CVS date: 1995/12/13 20:20:14
This commit is contained in:
ewt 1995-12-13 20:20:14 +00:00
parent 75ab7b91d4
commit 2eec922f7e
1 changed files with 2 additions and 11 deletions

View File

@ -13,16 +13,7 @@
#include "rpmlib.h"
int reindexDB(char * dbprefix) {
faFile pkgs;
GDBM_FILE nameIndex;
pkgs = faOpen("/var/lib/rpm/packages.rpm", O_RDONLY, 0644);
if (!pkgs) {
error(RPMERR_DBOPEN);
return 0;
}
}
int convertDB(char * dbprefix) {
@ -188,7 +179,7 @@ int convertDB(char * dbprefix) {
rpmdbClose(&olddb);
faClose(pkgs);
reindexDB(prefix);
reindexDB(dbprefix);
return 1;
}