[pacman-dev] [PATCH 1/2] libalpm: Parse and write PKGBASEs

Johannes Löthberg 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
>> DB
>>
>> 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.

-- 
Sincerely,
  Johannes Löthberg
  PGP Key ID: 0x50FB9B273A9D0BB5
  https://theos.kyriasis.com/~kyrias/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1495 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20141222/edd13830/attachment.bin>


More information about the pacman-dev mailing list