Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2008-04-21 12:16:15 +0200
committerDan McGee <dan@archlinux.org>2008-04-25 18:51:47 -0500
commit1b5a851851cce4ae53e82fdec128ff6d6f73393b (patch)
treec210d20ba980eb3047eadea173da82642b4d4839 /lib/libalpm/db.c
parent423820b34c018e655aac5836873fef8dc475bd74 (diff)
Kill compute_requiredby usage in can_remove_package()
In the can_remove_package function, we don't need to compute the whole requiredby list, we just need to find one member of it that doesn't belong to the targets list. That way we get a small speedup and remove the only usage of alpm_pkg_compute_requiredby in the backend, so that it can be tweaked for frontend usage. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
0 files changed, 0 insertions, 0 deletions