[Rpm-maint] [rpm-software-management/rpm] Type pedantry and similar cleanups in preparation for c++ (PR #3019)
Panu Matilainen
notifications at github.com
Fri Apr 5 08:24:12 UTC 2024
Another batch of delightful trivia to appease c++.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/3019
-- Commit Summary --
* Eliminate anonymous embedded struct use in filelist
* Drop a redundant helper variable
* String literals should be const char *
* rpmTag/rpmTagVal type pedantry
* signal() returns sighandler_t, not void *
* Avoid rpm tag signedness issues in build tables + related code
* Fix couple of RPMTAG/RPMDBI type mismatches
* Use proper callback types in psm notify wrapper
* Fix signedness mismatches in relocation code
* Introduce and use RPMRICHOP_NONE to fix int/enum mismatches
* Add c++ guards to internal headers and sources as needed
* Avoid relying on writable string literals in macros
* Lift %shrink out of doFoo()
* Work around C++ restriction on forward declarations
* Wrap rpmio inner file pointer access behind typed helper function
* Use an union for the zstd compress/decompress streams instead
* readline callback const correctness
* Avoid c++ reserved keywords new, class and namespace
-- File Changes --
M build/files.c (13)
M build/parsePreamble.c (2)
M build/parsePrep.c (7)
M build/parseSpec.c (2)
M build/rpmfc.c (46)
M include/rpm/rpmds.h (1)
M lib/depends.c (4)
M lib/formats.c (10)
M lib/fsm.h (3)
M lib/psm.c (2)
M lib/relocation.c (10)
M lib/rpmds.c (6)
M lib/rpmug.h (9)
M rpmio/macro.c (46)
M rpmio/rpmio.c (127)
M rpmio/rpmio_internal.h (23)
M rpmio/rpmlua.c (2)
M rpmio/rpmlua.h (2)
M rpmio/rpmpgp_sequoia.c (9)
M sign/rpmsignfiles.c (1)
M sign/rpmsignfiles.h (3)
M tools/cliutils.h (8)
M tools/rpmlua.c (2)
M tools/rpmsort.c (6)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/3019.patch
https://github.com/rpm-software-management/rpm/pull/3019.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3019
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3019 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240405/4297cdaf/attachment-0001.html>
More information about the Rpm-maint
mailing list