[pacman-dev] [PATCH 01/16] refactor common code in query_search/sync_search

Andrew Gregory andrew.gregory.8 at gmail.com
Fri Mar 1 23:27:28 EST 2013


On 03/01/13 at 04:32pm, Simon Gomizelj wrote:
> Signed-off-by: Simon Gomizelj <simongmzlj at gmail.com>
> ---
>  src/pacman/package.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  src/pacman/package.h |  3 ++
>  src/pacman/query.c   | 56 +-------------------------------------
>  src/pacman/sync.c    | 76 +++------------------------------------------------
>  4 files changed, 85 insertions(+), 127 deletions(-)
> 
> diff --git a/src/pacman/package.c b/src/pacman/package.c
> index 330f7ab..6daf745 100644
> --- a/src/pacman/package.c
> +++ b/src/pacman/package.c
> @@ -341,4 +341,81 @@ void dump_pkg_changelog(alpm_pkg_t *pkg)
<snip>
> +			if (installed_in)
> +				print_installed(installed_in, pkg);

style: always use braces and don't add space in front of parentheses.

apg


More information about the pacman-dev mailing list