From cac8c389607d7a5735b2905035fdfe4404670d06 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 31 Aug 2011 11:07:32 +0300 Subject: [PATCH] Oops, forgot to add the instfilenames pseudo index to tag lookup code - DBI tags dont really belong there to begin with but changing this would be more painful than its worth... --- lib/tagname.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/tagname.c b/lib/tagname.c index 0c26968..abcae1c 100644 --- a/lib/tagname.c +++ b/lib/tagname.c @@ -129,6 +129,9 @@ static const char * _tagName(rpmTagVal tag) case RPMDBI_PACKAGES: name = "Packages"; break; + case RPMDBI_INSTFILENAMES: + name = "Instfilenames"; + break; /* XXX make sure rpmdb indices are identically named. */ case RPMTAG_CONFLICTS: name = "Conflictname"; @@ -209,6 +212,8 @@ static rpmTagVal _tagValue(const char * tagstr) if (!rstrcasecmp(tagstr, "Packages")) return RPMDBI_PACKAGES; + if (!rstrcasecmp(tagstr, "Instfilenames")) + return RPMDBI_INSTFILENAMES; if (_rpmTags.byName == NULL) tagLoadIndex(&_rpmTags.byName, &_rpmTags.byNameSize, tagCmpName); -- 2.7.4