[tbb-commits] [Git][tpo/applications/tor-browser][tor-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:31:59 UTC 2023



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


Commits:
43f9dbcb by Pier Angelo Vendrame at 2023-09-19T01:29:25+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/43f9dbcbf29320701c8414f248c4d9144a2787a6

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/43f9dbcbf29320701c8414f248c4d9144a2787a6
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/tbb-commits/attachments/20230919/dec749c2/attachment.htm>


More information about the tbb-commits mailing list