1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:23:53 +00:00
openmw/components/crashcatcher
AnyOldName3 3bb3f58c73 Don't put crash dumps in Temp on Windows
Well... unless we fail to get the user profile directory.

Also put freeze dumps in a more appropriately-named file.

Discussed in https://gitlab.com/OpenMW/openmw/-/issues/7455

Manual rewrite of c21695c951

As well as that, I found a bug where the crash dump path was being converted from a std::filesystem::path to a utf8-encoded std::string, then passed to the crash catcher, which converted it to a std::filesystem::path implicitly, but using the system eight-bit code page, which wouldn't usually be UTF-8. That's now fixed by passing the function that expects a path a path instead of a string.
2023-07-05 20:25:22 +01:00
..
crashcatcher.cpp Remove strerror usages 2023-01-29 22:41:59 +01:00
crashcatcher.hpp Write crash log to temporary directory 2023-01-30 09:30:55 +01:00
windows_crashcatcher.cpp Don't put crash dumps in Temp on Windows 2023-07-05 20:25:22 +01:00
windows_crashcatcher.hpp Don't put crash dumps in Temp on Windows 2023-07-05 20:25:22 +01:00
windows_crashmonitor.cpp Don't put crash dumps in Temp on Windows 2023-07-05 20:25:22 +01:00
windows_crashmonitor.hpp Don't put crash dumps in Temp on Windows 2023-07-05 20:25:22 +01:00
windows_crashshm.hpp Don't put crash dumps in Temp on Windows 2023-07-05 20:25:22 +01:00