[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-17.0.6esr-4] fixup! Build determinism fix: os.listdir() imposes no specific ordering.



commit 951e63f02dd16d9ee6601574d7179dc8a7a9edf4
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
Date:   Fri Jun 7 12:30:49 2013 -0700

    fixup! Build determinism fix: os.listdir() imposes no specific ordering.
    
    We can't sort input contents, because this breaks XPCOM component
    registration..
---
 toolkit/mozapps/installer/link-manifests.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolkit/mozapps/installer/link-manifests.py b/toolkit/mozapps/installer/link-manifests.py
index a1ac9a9..1597c1e 100644
--- a/toolkit/mozapps/installer/link-manifests.py
+++ b/toolkit/mozapps/installer/link-manifests.py
@@ -17,7 +17,7 @@ for manifestdir in manifestdirs:
     for name in sorted(os.listdir(manifestdir)):
         infd = open(os.path.join(manifestdir, name))
         print >>outfd, "# %s" % name
-        outfd.writelines(sorted(infd.readlines()))
+        outfd.write(infd.read())
         print >>outfd
         infd.close()
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits