headerExport() is the only thing that needs offset sorting, there's no point messing up with the header itself for this when we can just sort a copy instead. No visible functional changes, but makes headerExport() a read-only operation to the header, as it should be. You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/870 -- Commit Summary -- * Refactor the actual work from headerExport() to a helper function * Avoid modifying header on export -- File Changes -- M lib/header.c (63) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/870.patch https://github.com/rpm-software-management/rpm/pull/870.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/870
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint