linux: Put crash dumps under "/tmp/ProductName Crashes/"

This commit is contained in:
Cheng Zhao 2014-11-11 12:51:16 +08:00
parent 739c432c98
commit f13d8407ee
3 changed files with 7 additions and 8 deletions

View file

@ -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);