[pacman-dev] [PATCH 1/2] libalpm: Parse and write PKGBASEs
johannes at kyriasis.com
Mon Dec 22 13:11:29 UTC 2014
On 22/12, Allan McRae wrote:
>On 21/12/14 02:25, Johannes Löthberg wrote:
>> This commit adds support to libalpm to parse the pkgbase present in
>> packages .PKGINFO files, writing the PKGBASE to the %BASE% section of
>> the local DBs desc files and for parsing it again when loading the local
>> Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
>You need to free the pkg->base memory in _alpm_pkg_free and copy it in
>_alpm_pkg_dup. Otherwise fine.
Crap, that completely slipped my mind. Thanks.
PGP Key ID: 0x50FB9B273A9D0BB5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 1495 bytes
Desc: not available
More information about the pacman-dev