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:
ted.mielczarek@gmail.com 2014-07-11 18:48:41 +00:00
parent 0a5ebafdf0
commit d7d532bf56

View file

@ -283,6 +283,12 @@ void CrashServerStart() {
}
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,
NULL,
ShowClientConnected,