summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-11-11 16:17:57 +0000
committerjbj <devnull@localhost>2001-11-11 16:17:57 +0000
commitac9f0fea036a08c071d28d2056fc9646ec7e679c (patch)
treec96494f5d19ff07214aee80e8d3fc6a23b47b27a /build
parentb97f1cf32b47de9019f93e229207f1619b93fd49 (diff)
downloadrpm-ac9f0fea036a08c071d28d2056fc9646ec7e679c.tar.gz
rpm-ac9f0fea036a08c071d28d2056fc9646ec7e679c.tar.bz2
rpm-ac9f0fea036a08c071d28d2056fc9646ec7e679c.zip
- factor per-transactionElement data out of TFI_t through pointer ref.
CVS patchset: 5174 CVS date: 2001/11/11 16:17:57
Diffstat (limited to 'build')
-rw-r--r--build/files.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/build/files.c b/build/files.c
index c12bda50a..de6657224 100644
--- a/build/files.c
+++ b/build/files.c
@@ -1336,11 +1336,13 @@ static void genCpioListAndHeader(/*@partial@*/ FileList fl,
(void) rpmlibNeedsFeature(h, "CompressedFileNames", "3.0.4-1");
}
- { TFI_t fi = xcalloc(sizeof(*fi), 1);
+ { TFI_t fi = xcalloc(1, sizeof(*fi));
char * a, * d;
- fi->type = TR_ADDED;
- /* XXX add transaction set */
+ /* XXX FIXME drill rpmTransactionSet ts all the way down here */
+/*@i@*/ fi->te = xcalloc(1, sizeof(*fi->te));
+/*@i@*/ fi->te->type = TR_ADDED;
+
loadFi(NULL, fi, h, 1);
fi->dnl = _free(fi->dnl);
fi->bnl = _free(fi->bnl);