From c7b6c11f3287ec4fe52e6ad915ed9c906ed8d301 Mon Sep 17 00:00:00 2001 From: mmentovai Date: Tue, 12 Dec 2006 21:52:56 +0000 Subject: 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 --- src/common/windows/pdb_source_line_writer.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/windows/pdb_source_line_writer.cc b/src/common/windows/pdb_source_line_writer.cc index 5be053dc..4266dca8 100644 --- a/src/common/windows/pdb_source_line_writer.cc +++ b/src/common/windows/pdb_source_line_writer.cc @@ -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; } -- cgit v1.2.1