From: Michael Schroeder Date: Thu, 19 Feb 2015 15:04:39 +0000 (+0100) Subject: another REL_COMPAT special case X-Git-Tag: 0.6.9~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acbb99d9bf2bd06dd84cea78bc4a395ab5e7d893;p=thirdparty%2Flibsolv.git another REL_COMPAT special case --- diff --git a/ext/testcase.c b/ext/testcase.c index 717574aa..b4516015 100644 --- a/ext/testcase.c +++ b/ext/testcase.c @@ -406,7 +406,7 @@ testcase_dep2str_complex(Pool *pool, Id id, int addparens) { Reldep *rd2 = GETRELDEP(pool, rd->name); needparens = 1; - if (rd->flags > 7 && rd2->flags && rd2->flags <= 7) + if (rd->flags > 7 && rd->flags != REL_COMPAT && rd2->flags && rd2->flags <= 7) needparens = 0; } s = (char *)testcase_dep2str_complex(pool, rd->name, needparens);