diff options
author | jbj <devnull@localhost> | 2001-11-11 12:47:08 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-11-11 12:47:08 +0000 |
commit | b97f1cf32b47de9019f93e229207f1619b93fd49 (patch) | |
tree | df587a5731914c31887eb06aa87b06bdd3be994f /build | |
parent | 2928a5b00d55c07df73971f7d2f845bc0618380f (diff) | |
download | rpm-b97f1cf32b47de9019f93e229207f1619b93fd49.tar.gz rpm-b97f1cf32b47de9019f93e229207f1619b93fd49.tar.bz2 rpm-b97f1cf32b47de9019f93e229207f1619b93fd49.zip |
- common structure elements for unification of TFI_t and rpmFNSet.
CVS patchset: 5173
CVS date: 2001/11/11 12:47:08
Diffstat (limited to 'build')
-rw-r--r-- | build/files.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c index 450761eab..c12bda50a 100644 --- a/build/files.c +++ b/build/files.c @@ -1340,7 +1340,7 @@ static void genCpioListAndHeader(/*@partial@*/ FileList fl, char * a, * d; fi->type = TR_ADDED; - /* XXX add trnsaction set */ + /* XXX add transaction set */ loadFi(NULL, fi, h, 1); fi->dnl = _free(fi->dnl); fi->bnl = _free(fi->bnl); @@ -1350,7 +1350,9 @@ static void genCpioListAndHeader(/*@partial@*/ FileList fl, *d = '\0'; fi->bnl = xmalloc(fi->fc * (sizeof(*fi->bnl) + sizeof(*fi->dil))); + /*@-dependenttrans@*/ /* FIX: artifact of spoofing headerGetEntry */ fi->dil = (int *)(fi->bnl + fi->fc); + /*@=dependenttrans@*/ fi->apath = xmalloc(fi->fc * sizeof(*fi->apath) + apathlen); a = (char *)(fi->apath + fi->fc); @@ -1378,7 +1380,9 @@ static void genCpioListAndHeader(/*@partial@*/ FileList fl, /* Create disk directory and base name. */ fi->dil[i] = i; + /*@-dependenttrans@*/ /* FIX: artifact of spoofing headerGetEntry */ fi->dnl[fi->dil[i]] = d; + /*@=dependenttrans@*/ d = stpcpy(d, flp->diskURL); /* Make room for the dirName NUL, find start of baseName. */ |