[Rpm-maint] [rpm-software-management/rpm] Avoid modifying header on export (#870)
Panu Matilainen
notifications at github.com
Fri Sep 27 07:45:41 UTC 2019
pmatilai commented on this pull request.
> @@ -68,12 +68,6 @@ static const int typeSizes[16] = {
0
};
-enum headerSorted_e {
- HEADERSORT_NONE = 0, /* Not sorted */
- HEADERSORT_OFFSET = 1, /* Sorted by offset (on-disk format) */
- HEADERSORT_INDEX = 2, /* Sorted by index */
-};
Hmm? There are no "magic values" left anywhere, h->sorted is now a simple boolean to indicate whether the header is sorted or not, as the variable name indicates (and was actually misleading before).
--
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#discussion_r328949614
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190927/3e07b240/attachment-0001.html>
More information about the Rpm-maint
mailing list