summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-06-28 13:04:38 +0000
committerjbj <devnull@localhost>2002-06-28 13:04:38 +0000
commitef1b1d0d2f30f69aac9288820b84322ddda3d265 (patch)
tree20c88724d35048fed51424a3cd0136a8b52bfdc4 /rpmqv.c
parent4252cddc29cd3e60bdc6a0791c6d2dd58fcb3c2e (diff)
downloadlibrpm-tizen-ef1b1d0d2f30f69aac9288820b84322ddda3d265.tar.gz
librpm-tizen-ef1b1d0d2f30f69aac9288820b84322ddda3d265.tar.bz2
librpm-tizen-ef1b1d0d2f30f69aac9288820b84322ddda3d265.zip
- fix: multiple relocations (#67596).
- add --build/--program-prefix, delete libtoolize, from %configure. CVS patchset: 5529 CVS date: 2002/06/28 13:04:38
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 838baa640..513f25174 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -329,6 +329,9 @@ int main(int argc, const char ** argv)
int ec = 0;
int status;
int p[2];
+#ifdef IAM_RPMEIU
+ int i;
+#endif
#if HAVE_MCHECK_H && HAVE_MTRACE
/*@-noeffect@*/
@@ -460,6 +463,8 @@ int main(int argc, const char ** argv)
#endif
#ifdef IAM_RPMEIU
+ for (i = 0; i < ia->numRelocations; i++)
+ ia->relocations[i].oldPath = _free(ia->relocations[i].oldPath);
ia->relocations = _free(ia->relocations);
memset(ia, 0, sizeof(*ia));
ia->transFlags = RPMTRANS_FLAG_NONE;
@@ -1217,6 +1222,8 @@ exit:
#endif
#ifdef IAM_RPMEIU
+ for (i = 0; i < ia->numRelocations; i++)
+ ia->relocations[i].oldPath = _free(ia->relocations[i].oldPath);
ia->relocations = _free(ia->relocations);
#endif