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:
6e7b664
)
use RPMFI_KEEPHEADER instead of numerical constant
author
Florian Festi
<ffesti@redhat.com>
Mon, 8 Dec 2008 16:46:36 +0000
(17:46 +0100)
committer
Florian Festi
<ffesti@redhat.com>
Wed, 10 Dec 2008 12:40:53 +0000
(13:40 +0100)
lib/transaction.c
patch
|
blob
|
history
diff --git
a/lib/transaction.c
b/lib/transaction.c
index
5081bc0
..
dde7adc
100644
(file)
--- a/
lib/transaction.c
+++ b/
lib/transaction.c
@@
-762,7
+762,7
@@
void checkInstalledFiles(rpmts ts, fingerPrintCache fpc)
switch (rpmteType(p)) {
case TR_ADDED:
if (!otherFi) {
- otherFi = rpmfiNew(ts, h, RPMTAG_BASENAMES,
1
);
+ otherFi = rpmfiNew(ts, h, RPMTAG_BASENAMES,
RPMFI_KEEPHEADER
);
}
rpmfiSetFX(fi, recs[j].fileno);
rpmfiSetFX(otherFi, fileNum);