use RPMFI_KEEPHEADER instead of numerical constant
authorFlorian Festi <ffesti@redhat.com>
Mon, 8 Dec 2008 16:46:36 +0000 (17:46 +0100)
committerFlorian Festi <ffesti@redhat.com>
Wed, 10 Dec 2008 12:40:53 +0000 (13:40 +0100)
lib/transaction.c

index 5081bc0..dde7adc 100644 (file)
@@ -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);