mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-03-01 09:56:56 +00:00
Ensure C:/Dumps/ exists in crash_generation_app
A=j.turney R=ted at https://breakpad.appspot.com/1134002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1348 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
0a5ebafdf0
commit
d7d532bf56
|
@ -283,6 +283,12 @@ void CrashServerStart() {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::wstring dump_path = L"C:\\Dumps\\";
|
std::wstring dump_path = L"C:\\Dumps\\";
|
||||||
|
|
||||||
|
if (_wmkdir(dump_path.c_str()) && (errno != EEXIST)) {
|
||||||
|
MessageBoxW(NULL, L"Unable to create dump directory", L"Dumper", MB_OK);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
crash_server = new CrashGenerationServer(kPipeName,
|
crash_server = new CrashGenerationServer(kPipeName,
|
||||||
NULL,
|
NULL,
|
||||||
ShowClientConnected,
|
ShowClientConnected,
|
||||||
|
|
Loading…
Reference in a new issue