Skip to content
Snippets Groups Projects
Commit 0a1a48fd authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern: Committed by Richard Pospesel
Browse files

Bug 41995: Generated headers on Windows are not reproducible

The flags optionally passed as a third parameter to DLL_BLOCKLIST_ENTRY
are stored in a set, so they are not ordered.
Sorting them before outputting them makes the creation of the headers
deterministic.
parent a4da2726
No related tags found
No related merge requests found
......@@ -570,7 +570,7 @@ class DllBlocklistEntry(object):
flags_str = ""
flags = self.get_flags_list()
flags = sorted(self.get_flags_list())
if flags:
flags_str = ", " + " | ".join(map(self.get_flag_string, flags))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment