diff options
author | jbj <devnull@localhost> | 2002-03-13 15:06:07 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-03-13 15:06:07 +0000 |
commit | 976cf8dec79b51102ed51cb72681bbac0abf3f5d (patch) | |
tree | 7b9fd30d31c5a9884ad793d1a3290a27d82f8c3a /rpmqv.c | |
parent | 2c45013b703f6f976bc8a64a38fcae56f0ffb156 (diff) | |
download | librpm-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-x | rpmqv.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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 */ |