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

Issue 119283: Always output 32bit integer values in header of CRX file.... (Closed)

Created:
11 years, 6 months ago by hamaji
Modified:
9 years, 5 months ago
CC:
chromium-reviews_googlegroups.com
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/src/
Visibility:
Public.

Description

Always output 32bit integer values in header of CRX file. It seems that 'l' data type of Python's array uses long, which is 64bit integer in LP64 environemnts. This means that this script generates corrupt headers in LP64 environments such as AMD64. Let's just use 'i' data type for 32bit integer. http://docs.python.org/library/array.html Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17835

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/tools/extensions/chromium_extension.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
hamaji
If you think we need to care about sizeof(int)!=4 environments such as ILP64, please let ...
11 years, 6 months ago (2009-06-06 15:20:37 UTC) #1
Erik does not do reviews
11 years, 6 months ago (2009-06-06 17:24:36 UTC) #2
LGTM

good catch.  thanks!

Powered by Google App Engine
This is Rietveld 408576698