1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Disable gzip compression of dumps until this gets enabled on backtrace

This commit is contained in:
Michał Janiszewski
2018-10-25 22:25:37 +02:00
parent 5780914a58
commit 7238ced946

View File

@@ -103,6 +103,8 @@ static bool OnCrash(
wchar_t dumpFilePathGZIP[MAX_PATH];
swprintf_s(dumpFilePathGZIP, sizeof(dumpFilePathGZIP), L"%s.gz", dumpFilePathNew);
// TODO: enable gzip compression once supported on backtrace.io
/*
FILE* input = _wfopen(dumpFilePath, L"rb");
FILE* dest = _wfopen(dumpFilePathGZIP, L"wb");
@@ -112,6 +114,7 @@ static bool OnCrash(
}
fclose(input);
fclose(dest);
*/
// Try to rename the files
if (_wrename(dumpFilePath, dumpFilePathNew) == 0)