linux: Put crash dumps under "/tmp/ProductName Crashes/"
This commit is contained in:
parent
739c432c98
commit
f13d8407ee
3 changed files with 7 additions and 8 deletions
|
@ -414,7 +414,6 @@ bool IsValidCrashReportId(const char* buf, size_t bytes_read,
|
|||
// |buf| should be |expected_len| + 1 characters in size and NULL terminated.
|
||||
void HandleCrashReportId(const char* buf, size_t bytes_read,
|
||||
size_t expected_len) {
|
||||
WriteNewline();
|
||||
if (!IsValidCrashReportId(buf, bytes_read, expected_len)) {
|
||||
static const char msg[] = "Failed to get crash dump id.";
|
||||
WriteLog(msg, sizeof(msg) - 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue