[pacman-dev] [PATCH 3/3] Remove rmrf function from frontend
Xavier
shiningxc at gmail.com
Sat Oct 24 07:26:22 EDT 2009
On Sat, Oct 24, 2009 at 9:07 AM, Laszlo Papp <djszapi2 at gmail.com> wrote:
> * The alpm_rmrf function is available from the frontend, which does the same
> as this function did.
>
> * It was worth to modify _alpm_rmrf to alpm_rmrf for pacman frontend to be
> able to use it in the future or for other frontend, so the function
> declaration was moved into the api header file, named alpm.h, and the
> definition of this function got a SYMEXPORT attribute.
>
> * The rmrf funtion calling was changed in ./src/pacman/sync.c for alpm_rmrf
>
> * The _alpm_rmrf functions were changed in api for alpm_rmrf
>
Why would we do that ? alpm is not a general system utility.
Besides this function is not as safe as it could be.
http://bugs.archlinux.org/task/16363
More information about the pacman-dev
mailing list