From: Dan Winship Date: Thu, 14 Feb 2008 15:35:10 +0000 (-0500) Subject: add a missing comparison to ensure correct repo sorting X-Git-Tag: 0.1~239 X-Git-Url: http://project.juiblex.co.uk/git/?a=commitdiff_plain;h=1ff2fd2b5b5ccdfafb03c53860a3df1d43908057;p=razor2.git%2F.git add a missing comparison to ensure correct repo sorting --- diff --git a/razor.c b/razor.c index 211e376..034cf31 100644 --- a/razor.c +++ b/razor.c @@ -1285,6 +1285,8 @@ merge_properties(struct razor_merger *merger) else cmp = 1; if (cmp == 0) + cmp = p1->type - p2->type; + if (cmp == 0) cmp = p1->relation - p2->relation; if (cmp == 0) cmp = versioncmp(&pool1[p1->version],