Bug 475165 - Use LZX compression on pdb files in symbol store. r=ted

This commit is contained in:
Ryan VanderMeulen 2010-07-18 11:16:22 +02:00
Родитель 594e231404
Коммит 881857edbe
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -608,8 +608,8 @@ class Dumper_Win32(Dumper):
# try compressing it
compressed_file = os.path.splitext(full_path)[0] + ".pd_"
# ignore makecab's output
success = call(["makecab.exe", full_path, compressed_file],
stdout=open("NUL:","w"), stderr=STDOUT)
success = call(["makecab.exe", "/D", "CompressionType=LZX", "/D", "CompressionMemory=21",
full_path, compressed_file], stdout=open("NUL:","w"), stderr=STDOUT)
if success == 0 and os.path.exists(compressed_file):
os.unlink(full_path)
print os.path.splitext(rel_path)[0] + ".pd_"