diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | URPM.xs | 8 |
2 files changed, 2 insertions, 7 deletions
@@ -1,3 +1,4 @@ +- fix reporting problems when checking transaction - fix reporting size on big packages (mga#19571) Version 5.07 - 14 April 2016 @@ -2594,12 +2594,7 @@ Trans_check(trans, ...) if (len == 17 && !memcmp(s, "translate_message", 17)) translate_message = SvIV(ST(i+1)); } - if (rpmtsCheck(trans->ts)) { - if (gimme == G_SCALAR) - mXPUSHs(newSViv(0)); - else if (gimme == G_ARRAY) - mXPUSHs(newSVpvs("error while checking dependencies")); - } else { + rpmtsCheck(trans->ts); rpmps ps = rpmtsProblems(trans->ts); if (rpmpsNumProblems(ps) > 0) { if (gimme == G_SCALAR) @@ -2614,7 +2609,6 @@ Trans_check(trans, ...) mXPUSHs(newSViv(1)); rpmpsFree(ps); - } void Trans_order(trans, ...) |