Avoid redundant ds -> id -> string lookups in rpmalAllFileSatisfiesDepend()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 18 Sep 2012 03:30:59 +0000 (06:30 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 18 Sep 2012 03:30:59 +0000 (06:30 +0300)
commitb8e5a448c5f58a174d42e00136df01565c6d3e74
tree3931f4f2aae3977a4a7b01a9ce35595993c8bd48
parent272eaae387c72cac14eff8665eaa3126ca2dcc22
Avoid redundant ds -> id -> string lookups in rpmalAllFileSatisfiesDepend()

- We need to grab the dependency string in rpmalAllSatisfiesDepend()
  already to see whether its a file dependency or not, just pass that
  to the file deps to avoid redundant work.
lib/rpmal.c