diff options
author | Lei Zhang <thestig@google.com> | 2015-11-05 15:45:01 -0800 |
---|---|---|
committer | Lei Zhang <thestig@google.com> | 2015-11-05 15:45:01 -0800 |
commit | aa5ff205cbe6ce5be97e032b50e5d3cf4b7c3d0a (patch) | |
tree | 4ed8132b80ba1cfe2659c3e5b9a00cebe95752db /src/common/mac/GTMDefines.h | |
parent | Issue in StackwalkerAMD64::GetCallerByFramePointerRecovery. (diff) | |
download | breakpad-aa5ff205cbe6ce5be97e032b50e5d3cf4b7c3d0a.tar.xz |
Android: Workaround for ftruncate() issues.
This works around a bug in M that prevents Breakpad from using
ftruncate() in the renderer process.
To do this, skip the calls to ftruncate() when allocating bigger
minidump files and strictly depends on write() to append to the end.
It might be less efficient but this is probably less of an issue on
SD cards. It is much better than not getting crash reports.
BUG=542840
Original CL: https://codereview.appspot.com/273880044/
Original CL Author: acleung@chromium.org
Review URL: https://codereview.chromium.org/1407233016 .
Diffstat (limited to 'src/common/mac/GTMDefines.h')
0 files changed, 0 insertions, 0 deletions