Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Issue 1117393002: win: Don't log wide strings via path.value().c_str() (Closed)

Created:
5 years, 7 months ago by scottmg
Modified:
5 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@settings-access
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

win: Don't log wide strings via path.value().c_str() At the moment the LOGs print something unhelpful like: [19912:21888:20150501,145958.098:ERROR file_io_win.cc:122] CreateFile 000000C9F8FDE7F0: The system cannot find the file specified. (0x2) (where the hex string ought to be a file name) R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/d8713a576bfd633c4252e17124f4813e9b5a3116

Patch Set 1 #

Patch Set 2 : just convert at callsite instead of global std::operator<< #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -9 lines) Patch
M client/crash_report_database_win.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M snapshot/crashpad_info_client_options_test.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M util/file/file_io_win.cc View 1 3 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
scottmg
5 years, 7 months ago (2015-05-01 22:09:04 UTC) #1
scottmg
No base/std:: change required now.
5 years, 7 months ago (2015-05-01 22:20:25 UTC) #2
Mark Mentovai
LGTM
5 years, 7 months ago (2015-05-01 22:21:38 UTC) #3
scottmg
5 years, 7 months ago (2015-05-01 22:49:45 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
d8713a576bfd633c4252e17124f4813e9b5a3116 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698