[pacman-dev] [PATCH] libalpm: consistently use int as return type for option setters

Dan McGee dpmcgee at gmail.com
Mon Apr 11 14:33:07 EDT 2011


On Sun, Apr 10, 2011 at 7:02 AM, Rémy Oudompheng
<remyoudompheng at gmail.com> wrote:
> Currently the only error case is when handle == NULL.
> However several handle functions return -1 on this error,
> and a uniform API makes things simpler.
>
> Signed-off-by: Rémy Oudompheng <remy at archlinux.org>
> ---
> This patch introduces an API change.
This is fine with me, as long as nobody else has objections.

-Dan


More information about the pacman-dev mailing list