[Rpm-maint] [rpm-software-management/rpm] Convert a bunch of librpm stuff to native C++ allocation (and containers) (PR #3066)
Panu Matilainen
notifications at github.com
Mon Apr 29 07:32:00 UTC 2024
Nothing hugely interesting in here, see commit 0d1071b99ada2df920ba657d9e015e0c2259d4b6 for rationale.
There are bits and pieces to finish in librpmio side still but moving on to librpm as some of this stuff is linked, eg string pool cannot use C++ containers before rpmds is updated to clean up after itself, otherwise there will be an unfixable indirect leak from rpmlibProvides_s struct on process exit :zany_face:
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/3066
-- Commit Summary --
* Natively allocate rpmte structs and temporary colors vector
* Natively allocate rpmts, rpmtsi, rpmtxn and tsMembers
* Natively allocate rpmds, rpmfiles and rpmfi mains structs
* Natively allocate rpmps and rpmprob structs, use vector for prob storage
* Natively allocate main header related structs
* Natively allocate bunch of miscellaneous librpm structs
* Natively allocate main rpmdb related structs
* Use a vector for index iterator offset storage
* Use an unordered map for the rpmdb verify cache
* Natively allocate rpmfs structs
* Natively allocate fingerprint cache
* Natively allocate plugin structures, use a vector for storage
-- File Changes --
M lib/backend/dbi.h (6)
M lib/cpio.c (4)
M lib/fprint.c (6)
M lib/header.c (14)
M lib/psm.c (5)
M lib/rpmdb.c (75)
M lib/rpmds.c (5)
M lib/rpmfi.c (13)
M lib/rpmfs.c (57)
M lib/rpmgi.c (6)
M lib/rpmlock.c (6)
M lib/rpmplugins.c (67)
M lib/rpmprob.c (4)
M lib/rpmps.c (46)
M lib/rpmscript.c (8)
M lib/rpmtd.c (4)
M lib/rpmte.c (11)
M lib/rpmts.c (19)
M lib/rpmvs.c (4)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/3066.patch
https://github.com/rpm-software-management/rpm/pull/3066.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3066
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3066 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240429/b192ca65/attachment-0001.html>
More information about the Rpm-maint
mailing list