bug 1045662 - add an extra normcase to symbolstore.py path handling to fix Windows. r=gps
authorTed Mielczarek <ted@mielczarek.org>
Wed, 30 Jul 2014 08:00:59 -0400
changeset 196845 413586b58d1a75c092c0e6f06b497626412a87ef
parent 196844 deb63ed4434b75e5d8d60c825ec9cefb774f4d60
child 196846 1bfef3031ac83fa560ca89c1d1d1285db9180317
push id27226
push userryanvm@gmail.com
push dateWed, 30 Jul 2014 21:14:41 +0000
treeherdermozilla-central@005424a764da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1045662
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1045662 - add an extra normcase to symbolstore.py path handling to fix Windows. r=gps
toolkit/crashreporter/tools/symbolstore.py
--- a/toolkit/crashreporter/tools/symbolstore.py
+++ b/toolkit/crashreporter/tools/symbolstore.py
@@ -310,17 +310,18 @@ def validate_install_manifests(install_m
 def make_file_mapping(install_manifests):
     file_mapping = {}
     for manifest, destination in install_manifests:
         destination = os.path.abspath(destination)
         reg = FileRegistry()
         manifest.populate_registry(reg)
         for dst, src in reg:
             if hasattr(src, 'path'):
-                file_mapping[os.path.join(destination, dst)] = src.path
+                abs_dest = os.path.normpath(os.path.join(destination, dst))
+                file_mapping[abs_dest] = src.path
     return file_mapping
 
 def GetPlatformSpecificDumper(**kwargs):
     """This function simply returns a instance of a subclass of Dumper
     that is appropriate for the current platform."""
     # Python 2.5 has a bug where platform.system() returns 'Microsoft'.
     # Remove this when we no longer support Python 2.5.
     return {'Windows': Dumper_Win32,