diff options
author | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-02-22 08:16:05 +0000 |
---|---|---|
committer | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-02-22 08:16:05 +0000 |
commit | e1a7efca7dba1f2be87c791df632e2c4cd54cecf (patch) | |
tree | 3518cce3140a86f931a44158ef803e3cc5be653c /src/common | |
parent | Issue 294: mmap error checking is not correct. (diff) | |
download | breakpad-e1a7efca7dba1f2be87c791df632e2c4cd54cecf.tar.xz |
See https://bugzilla.mozilla.org/show_bug.cgi?id=397200
The method of calculating a binary ID using the LC_ID command isn't compatible with non-default build processes, most Mac consumers
use LC_UUID anyway but for those that don't, MD5 is a better choice
R=nealsid
W=Ted.Mielczarek
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@313 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/mac/file_id.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/mac/file_id.cc b/src/common/mac/file_id.cc index 1c7770dd..ebb8c40e 100644 --- a/src/common/mac/file_id.cc +++ b/src/common/mac/file_id.cc @@ -76,9 +76,6 @@ bool FileID::MachoIdentifier(int cpu_type, unsigned char identifier[16]) { if (macho.UUIDCommand(cpu_type, identifier)) return true; - if (macho.IDCommand(cpu_type, identifier)) - return true; - return macho.MD5(cpu_type, identifier); } |