[Rpm-maint] [rpm-software-management/rpm] Avoid modifying header on export (#870)

Panu Matilainen notifications at github.com
Thu Sep 26 11:49:00 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190926/690e0a32/attachment.html>


More information about the Rpm-maint mailing list