summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-03-13 15:06:07 +0000
committerjbj <devnull@localhost>2002-03-13 15:06:07 +0000
commit976cf8dec79b51102ed51cb72681bbac0abf3f5d (patch)
tree7b9fd30d31c5a9884ad793d1a3290a27d82f8c3a /rpmqv.c
parent2c45013b703f6f976bc8a64a38fcae56f0ffb156 (diff)
downloadlibrpm-tizen-976cf8dec79b51102ed51cb72681bbac0abf3f5d.tar.gz
librpm-tizen-976cf8dec79b51102ed51cb72681bbac0abf3f5d.tar.bz2
librpm-tizen-976cf8dec79b51102ed51cb72681bbac0abf3f5d.zip
Pass ts and args to rpmInstall() and rpmErase().
CVS patchset: 5355 CVS date: 2002/03/13 15:06:07
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 41c7eb7fc..8e79e421c 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -1045,8 +1045,7 @@ ia->transFlags |= RPMTRANS_FLAG_NOMD5;
ia->probFilter |= RPMPROB_FILTER_OLDPACKAGE;
ec += rpmRollback(ts, ia, NULL);
} else {
- ec += rpmErase(ts, (const char **)poptGetArgs(optCon),
- ia->transFlags, ia->eraseInterfaceFlags);
+ ec += rpmErase(ts, ia, (const char **) poptGetArgs(optCon));
}
break;
@@ -1087,12 +1086,10 @@ ia->transFlags |= RPMTRANS_FLAG_NOMD5;
ia->probFilter |= RPMPROB_FILTER_OLDPACKAGE;
/*@i@*/ ec += rpmRollback(ts, ia, NULL);
} else {
- /*@-compdef@*/ /* FIX: ia->relocations[0].newPath undefined */
- ec += rpmInstall(ts, (const char **)poptGetArgs(optCon),
- ia->transFlags, ia->installInterfaceFlags,
- ia->probFilter, ia->relocations);
+ /*@-compmempass@*/ /* FIX: ia->relocations[0].newPath undefined */
+ ec += rpmInstall(ts, ia, (const char **)poptGetArgs(optCon));
+ /*@=compmempass@*/
}
- /*@=compdef@*/
break;
#endif /* IAM_RPMEIU */