mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-01-08 22:15:37 +00:00
Assertion in CrashReportSender (windows) when no checkpoint file is desired
(#216). Patch by Ben Turner <bent.mozilla>. r=me. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@219 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
68004c84d6
commit
657a6c4a96
|
@ -124,6 +124,9 @@ int CrashReportSender::GetCurrentDate() const {
|
|||
}
|
||||
|
||||
int CrashReportSender::OpenCheckpointFile(const wchar_t *mode, FILE **fd) {
|
||||
if (checkpoint_file_.empty()) {
|
||||
return ENOENT;
|
||||
}
|
||||
#if _MSC_VER >= 1400 // MSVC 2005/8
|
||||
return _wfopen_s(fd, checkpoint_file_.c_str(), mode);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue