Actually remove packages from pkghash on removal
commit01c3c7e4f28d837f0b8a6aaaf27d16894d4b762d
authorAllan McRae <allan@archlinux.org>
Sun, 30 Jan 2011 12:42:45 +0000 (30 22:42 +1000)
committerAllan McRae <allan@archlinux.org>
Thu, 3 Feb 2011 23:55:45 +0000 (4 09:55 +1000)
treedce1eecbcc7961ac318d7732e14dd9ded075048c
parent11e5e86151f83219b1cedbca31be7530911e25eb
Actually remove packages from pkghash on removal

Fully removes a package from the hash.  Also unify prototype with
removal from an alpm_list_t, fixing issues when removing a package
from the pkgcache.

Signed-off-by: Allan McRae <allan@archlinux.org>
lib/libalpm/db.c
lib/libalpm/pkghash.c
lib/libalpm/pkghash.h