Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2939)

Unified Diff: build/linux/dump_signature.py

Issue 132034: Make symbol signatures upper-case. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/dump_signature.py
===================================================================
--- build/linux/dump_signature.py (revision 18690)
+++ build/linux/dump_signature.py (working copy)
@@ -25,6 +25,7 @@
for i in range(0, 4096):
signature[i % 16] ^= ord(data[i])
-out = ('%08x%04x%04x%02x%02x%02x%02x%02x%02x%02x%02x0' %
+# Append a 0 at the end for the generation number (always 0 on Linux)
+out = ('%08X%04X%04X%02X%02X%02X%02X%02X%02X%02X%02X0' %
struct.unpack('I2H8B', struct.pack('16B', *signature)))
sys.stdout.write(out)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698