LGTM, Kris
Thanks for the patch.
Neal
http://breakpad.appspot.com/31001/diff/1006/8
File src/tools/mac/crash_report/crash_report.mm (right):
http://breakpad.appspot.com/31001/diff/1006/8#newcode316
Line 316: && is_dir) {
i would just make this:
BOOL file_exists = [manager fileExistsAtPath:minidump_path isDirectory:is_dir];
if (file_exists && is_dir) { ...
...
} else if (file_exists) {
...
}
That way we're not potentially calling ProcessSingleReport on a nonexistant
file.(and it also gets away from a style of setting a variable and testing it in
the same boolean expression, which works but I'm not a fan of because it's
slightly harder to follow)
Issue 31001: Added ability for crash_report to run through a directory
Created 15 years, 1 month ago by krisr
Modified 15 years, 1 month ago
Reviewers: mochalatte
Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Comments: 1