Split rpmds EVR comparison into function of its own
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 11 Sep 2012 04:23:50 +0000 (07:23 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 11 Sep 2012 05:08:54 +0000 (08:08 +0300)
commitd2f51ded49d438f3c6c6026ff4202196c94f2651
tree2a075ef1c40681c48505bd02a0f1111511ae5eaf
parent03b6fcb1a19f82708ed5453d474584e7aa5782be
Split rpmds EVR comparison into function of its own

- The EVR comparison is a distinct operation of its own: rpmdsCompare()
  looks at the other properties, EVR comparison is done if needed.
  Doesn't affect speed or functionality, but cuts down on the
  big number of local variables and has the nice side-effect of
  making the xstrdup() allocations local within rpmdsCompareEVR()
lib/rpmds.c