From 976cf8dec79b51102ed51cb72681bbac0abf3f5d Mon Sep 17 00:00:00 2001 From: jbj Date: Wed, 13 Mar 2002 15:06:07 +0000 Subject: Pass ts and args to rpmInstall() and rpmErase(). CVS patchset: 5355 CVS date: 2002/03/13 15:06:07 --- rpmqv.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'rpmqv.c') 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 */ -- cgit v1.2.3