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
This commit is contained in:
nealsid 2009-02-22 08:16:05 +00:00
parent cadc8ddde9
commit e1a7efca7d

View file

@ -76,9 +76,6 @@ bool FileID::MachoIdentifier(int cpu_type, unsigned char identifier[16]) {
if (macho.UUIDCommand(cpu_type, identifier)) if (macho.UUIDCommand(cpu_type, identifier))
return true; return true;
if (macho.IDCommand(cpu_type, identifier))
return true;
return macho.MD5(cpu_type, identifier); return macho.MD5(cpu_type, identifier);
} }