projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c8e0e
)
Don't put unimplemented tags into tagtable
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 14 Jul 2008 13:21:15 +0000
(16:21 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 14 Jul 2008 13:21:15 +0000
(16:21 +0300)
- no point in exposing unimplemnted (ours or somebody elses) tags to users
lib/gentagtbl.sh
patch
|
blob
|
history
diff --git
a/lib/gentagtbl.sh
b/lib/gentagtbl.sh
index
2fd3abe
..
cb28c53
100755
(executable)
--- a/
lib/gentagtbl.sh
+++ b/
lib/gentagtbl.sh
@@
-4,7
+4,7
@@
cat << EOF
static const struct headerTagTableEntry_s rpmTagTable[] = {
EOF
-${AWK} '/[\t ](RPMTAG_[A-Z0-9]*)[ \t]+([0-9]*)/ && !/internal/ {
+${AWK} '/[\t ](RPMTAG_[A-Z0-9]*)[ \t]+([0-9]*)/ && !/internal/
&& !/unimplemented/
{
tt = "NULL"
ta = "ANY"
ext = "0"