diff options
author | jbj <devnull@localhost> | 2001-11-11 16:17:57 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-11-11 16:17:57 +0000 |
commit | ac9f0fea036a08c071d28d2056fc9646ec7e679c (patch) | |
tree | c96494f5d19ff07214aee80e8d3fc6a23b47b27a /build | |
parent | b97f1cf32b47de9019f93e229207f1619b93fd49 (diff) | |
download | rpm-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.c | 8 |
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); |