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:
1f5ef58
)
strip off the tag
author
Anas Nashif
<anas.nashif@intel.com>
Thu, 11 Oct 2012 22:17:10 +0000
(15:17 -0700)
committer
Anas Nashif
<anas.nashif@intel.com>
Sun, 3 Feb 2013 00:44:15 +0000
(16:44 -0800)
lib/rpmdb.c
patch
|
blob
|
history
diff --git
a/lib/rpmdb.c
b/lib/rpmdb.c
index
c17dcbf
..
76425b4
100644
(file)
--- a/
lib/rpmdb.c
+++ b/
lib/rpmdb.c
@@
-294,6
+294,9
@@
static int dbt2set(dbiIndex dbi, DBT * data, dbiIndexSet * setp)
_DBSWAP(hdrNum);
_DBSWAP(tagNum);
}
+ /* remove tagged directory info */
+ if (tagNum.ui & 0x80000000)
+ tagNum.ui &= 0x0000ffff;
set->recs[i].hdrNum = hdrNum.ui;
set->recs[i].tagNum = tagNum.ui;
}