[Rpm-maint] [rpm-software-management/rpm] Convert major librpmbuild structs to native C++ allocation / initialization (PR #3099)
Panu Matilainen
notifications at github.com
Wed May 15 13:59:02 UTC 2024
Details in the commits, in brief this brings the major data structures of librpmbuild under C++ native allocation and initialization, making it possible to use native data types in said structs.
A few "obvious" cases converted to STL too, but plenty more to do on that department.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/3099
-- Commit Summary --
* Natively allocate rpmfc main structures
* Natively allocate the spec and its package structs
* Natively initialize the file list structure
* Natively allocate special dir structs and related entries
* Natively allocate spec read and file stacks
* Use a C++ string for StringBuf internally
* Natively allocate the spec listiter macro fu
* Store trigger file info natively in STL vectors
* Natively allocate spec source and selinux policy structs
* Use an STL vector for spec file records storage
-- File Changes --
M build/files.c (153)
M build/misc.c (59)
M build/pack.c (34)
M build/parsePreamble.c (2)
M build/parseScript.c (28)
M build/parseSpec.c (8)
M build/policies.c (4)
M build/rpmbuild_internal.h (8)
M build/rpmfc.c (11)
M build/spec.c (49)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/3099.patch
https://github.com/rpm-software-management/rpm/pull/3099.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3099
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3099 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240515/6d79b7f0/attachment.html>
More information about the Rpm-maint
mailing list