[tor-commits] [Git][tpo/applications/tor-browser][base-browser-115.2.1esr-13.0-1] Bug 41995: Generated headers on Windows are not reproducible

richard (@richard) git at gitlab.torproject.org
Tue Sep 19 01:34:18 UTC 2023



richard pushed to branch base-browser-115.2.1esr-13.0-1 at The Tor Project / Applications / Tor Browser


Commits:
0a1a48fd by Pier Angelo Vendrame at 2023-09-19T01:34:03+00:00
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.

- - - - -


1 changed file:

- toolkit/xre/dllservices/mozglue/gen_dll_blocklist_defs.py


Changes:

=====================================
toolkit/xre/dllservices/mozglue/gen_dll_blocklist_defs.py
=====================================
@@ -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))
 



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/0a1a48fdff186cdc06ad6cb0cefcde950f01b7cf

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/0a1a48fdff186cdc06ad6cb0cefcde950f01b7cf
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20230919/8dac2f3d/attachment-0001.htm>


More information about the tor-commits mailing list