diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-03-22 15:48:26 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-03-22 15:48:54 +0200 |
commit | f46785b274c06981c553f32a627e8d59078a80e2 (patch) | |
tree | 615675b0eccff3b066177eb19effa9e159a4e13e | |
parent | 714c22f24897375bf2dd32cde91ce4277265175b (diff) | |
download | librpm-tizen-f46785b274c06981c553f32a627e8d59078a80e2.tar.gz librpm-tizen-f46785b274c06981c553f32a627e8d59078a80e2.tar.bz2 librpm-tizen-f46785b274c06981c553f32a627e8d59078a80e2.zip |
Lose leftover RPMDBI_ARGLIST rpmgi pseudo tag
- should've really been in commit a2156379641e48fbad88d1088eb06d7bfa78927c
-rw-r--r-- | lib/rpmtag.h | 1 | ||||
-rw-r--r-- | lib/tagname.c | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/rpmtag.h b/lib/rpmtag.h index 204ee5f20..44aa3e353 100644 --- a/lib/rpmtag.h +++ b/lib/rpmtag.h @@ -12,7 +12,6 @@ extern "C" { */ #define RPMDBI_PACKAGES 0 /* Installed package headers. */ #define RPMDBI_LABEL 2 /* Fingerprint search marker. */ -#define RPMDBI_ARGLIST 6 /* (rpmgi) Argument list. */ /** * Header private tags. diff --git a/lib/tagname.c b/lib/tagname.c index c578b323a..5ea62b58d 100644 --- a/lib/tagname.c +++ b/lib/tagname.c @@ -129,10 +129,6 @@ static const char * _tagName(rpmTag tag) case RPMDBI_PACKAGES: name = "Packages"; break; - case RPMDBI_ARGLIST: - name = "Arglist"; - break; - /* XXX make sure rpmdb indices are identically named. */ case RPMTAG_CONFLICTS: name = "Conflictname"; @@ -183,7 +179,6 @@ static rpmTagType _tagType(rpmTag tag) switch (tag) { case RPMDBI_PACKAGES: - case RPMDBI_ARGLIST: break; default: if (_rpmTags.byValue == NULL) @@ -222,8 +217,6 @@ static rpmTag _tagValue(const char * tagstr) if (!rstrcasecmp(tagstr, "Packages")) return RPMDBI_PACKAGES; - if (!rstrcasecmp(tagstr, "Arglist")) - return RPMDBI_ARGLIST; if (_rpmTags.byName == NULL) xx = tagLoadIndex(&_rpmTags.byName, &_rpmTags.byNameSize, tagCmpName); |