[tor-commits] [tor-browser/tor-browser-17.0.6esr-4] fixup! Build determinism fix: os.listdir() imposes no specific ordering.
mikeperry at torproject.org
mikeperry at torproject.org
Sat Jun 8 03:39:59 UTC 2013
commit 951e63f02dd16d9ee6601574d7179dc8a7a9edf4
Author: Mike Perry <mikeperry-git at torproject.org>
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()
More information about the tor-commits
mailing list