[pacman-dev] [PATCH 09/13] Require handle for alpm_find_grp_pkgs()

Dan McGee dpmcgee at gmail.com
Tue Jun 7 18:29:07 EDT 2011


On Tue, Jun 7, 2011 at 5:19 PM, Rémy Oudompheng
<remyoudompheng at gmail.com> wrote:
> On 2011/6/7 Dan McGee <dan at archlinux.org> wrote:
>> -alpm_list_t SYMEXPORT *alpm_find_grp_pkgs(alpm_list_t *dbs,
>> +alpm_list_t SYMEXPORT *alpm_find_grp_pkgs(pmhandle_t *handle, alpm_list_t *dbs,
>>                const char *name)
>>  {
>>        alpm_list_t *i, *j, *pkgs = NULL, *ignorelist = NULL;
>
> I don't see where the handle is needed in this function.

It's needed in the subsequent patches that move pm_errno to the
handle; I tried anything to make that one smaller and this was one bit
that could be split out. Barely worth it, I know, but trying every
little bit...

-Dan


More information about the pacman-dev mailing list