Fix capitalization of identifiers (#94). r=bryner

http://groups.google.com/group/airbag-dev/browse_thread/thread/15cf4d0ce5ed1014


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@85 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
mmentovai 2006-12-12 21:52:56 +00:00
parent fb35cf79e2
commit c7b6c11f32
4 changed files with 29 additions and 18 deletions

View file

@ -715,10 +715,12 @@ bool PDBSourceLineWriter::GetModuleInfo(PDBModuleInfo *info) {
return false;
}
// Use the same format that the MS symbol server uses in filesystem
// hierarchies.
wchar_t age_string[9];
WindowsStringUtils::safe_swprintf(
age_string, sizeof(age_string) / sizeof(age_string[0]),
L"%X", age);
L"%x", age);
info->debug_identifier = GUIDString::GUIDToSymbolServerWString(&guid);
info->debug_identifier.append(age_string);
@ -728,11 +730,13 @@ bool PDBSourceLineWriter::GetModuleInfo(PDBModuleInfo *info) {
return false;
}
// Use the same format that the MS symbol server uses in filesystem
// hierarchies.
wchar_t identifier_string[17];
WindowsStringUtils::safe_swprintf(
identifier_string,
sizeof(identifier_string) / sizeof(identifier_string[0]),
L"%08x%x", signature, age);
L"%08X%x", signature, age);
info->debug_identifier = identifier_string;
}