[pacman-dev] One liner alpm_pkg_find
Xavier
shiningxc at gmail.com
Thu Apr 24 15:55:00 EDT 2008
Nagy Gabor wrote:
>>From 60e9d311b05f9d5e1d4d63476eb00ec85077e965 Mon Sep 17 00:00:00 2001
> From: Nagy Gabor <ngaba at bibl.u-szeged.hu>
> Date: Mon, 21 Apr 2008 13:29:01 +0200
> Subject: [PATCH] One liner alpm_pkg_find
>
> This patch kills some code duplication.
> Note: There was a little confusion between alpm_list_remove's and alpm_list_find's compare functions.
>
> Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
> ---
> lib/libalpm/alpm_list.c | 2 +-
> lib/libalpm/db.c | 2 +-
> lib/libalpm/deps.c | 2 +-
> lib/libalpm/package.c | 16 +---------------
> 4 files changed, 4 insertions(+), 18 deletions(-)
That is great, but it looks to me like there are 2 distinct and
independent parts in that patch.
So if you want to split it, it would be ideal and could be applied
without modifications :)
More information about the pacman-dev
mailing list