Remove rmrf implementation from backend
commitbe038f9cb2d4302d74c0edadd9abf2b282adc7c3
authorDan McGee <dan@archlinux.org>
Thu, 19 Jan 2012 03:43:00 +0000 (18 21:43 -0600)
committerDan McGee <dan@archlinux.org>
Mon, 23 Jan 2012 18:21:11 +0000 (23 12:21 -0600)
tree675ffc363d23d1ebb5520db69a2127172e647a2a
parentac239c54d0b8f83ee8a0a94456fc84da7f583ccb
Remove rmrf implementation from backend

This moves the code for removal of local database entries right into
be_local.c, which was the last user of the rmrf() function we had in our
utility source file. We can simplify the implementation and make it
non-recursive as we know the structure of the local database entries.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/be_local.c
lib/libalpm/util.c
lib/libalpm/util.h