Int vs enum type mismatches, initialization order consistency and other "fascinating" trivia. You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/2977 -- Commit Summary -- * Fix some int/enum confusion in the build code * Fixup an invalid enum use in %prep parse * parseSpecSection() expects an enum, give it one * An enumeration is not a bitfield, use an integer instead * Fixup type mismatches in rpmRC returns from plugins * Follow declaration order in fapolicyd_hooks initialization * Follow declaration order in rpmdb backend initialization * Follow declaration order in rpmrc context initialization * Fix a couple of int/enum type mismatches in signing code * Undo weird designated initializers use in rpmsignfiles.c * Sanity check the IMA digest algo name lower bound too * Drop silly "register" use from our allocation routines * Avoid an unnecessary cast in selinux callback setting * Fix an enum/int type mismatch in transaction verify code * Fix enum type mismatch in rpmTagGetValue() * Enums considered harmful (or at least annoying), part XXXII * Eliminate unused internal rpmfsGetState() API * Fix an enum/int type mismatch in rpmfiArchiveReadToFilePsm() * Fix an int/enum type mismatch in rpmfilesDecideFate() * Add DB_CTRL_NONE to the dbCtrl enum for handling the not legit case * Use the internal DB_CTRL* enum for intenal uses consistently -- File Changes -- M build/build.c (12) M build/parsePrep.c (2) M build/parseSpec.c (2) M include/rpm/rpmfileutil.h (6) M include/rpm/rpmmacro.h (5) M lib/backend/bdb_ro.c (2) M lib/backend/dbi.h (1) M lib/backend/dummydb.c (2) M lib/backend/ndb/glue.c (2) M lib/backend/sqlite.c (2) M lib/rpmdb.c (4) M lib/rpmfi.c (6) M lib/rpmfs.c (7) M lib/rpmfs.h (3) M lib/rpmrc.c (2) M lib/tagexts.c (2) M lib/tagname.c (2) M lib/transaction.c (2) M plugins/dbus_announce.c (2) M plugins/fapolicyd.c (2) M plugins/fsverity.c (2) M plugins/ima.c (2) M plugins/selinux.c (4) M rpmio/rpmmalloc.c (8) M sign/rpmgensig.c (11) M sign/rpmsignfiles.c (23) M sign/rpmsignverity.c (2) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/2977.patch https://github.com/rpm-software-management/rpm/pull/2977.diff -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2977 You are receiving this because you are subscribed to this thread. Message ID: <rpm-software-management/rpm/pull/2...@github.com>
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint