| Index: base/debug/stack_trace_posix.cc
|
| diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc
|
| index fb5b21f999b660da83dd566636d799aaecfa52ca..c49a762adc0d14ec5229b9101861d8532ca0bfab 100644
|
| --- a/base/debug/stack_trace_posix.cc
|
| +++ b/base/debug/stack_trace_posix.cc
|
| @@ -473,7 +473,7 @@ class SandboxSymbolizeHelper {
|
| }
|
|
|
| // Returns a O_RDONLY file descriptor for |file_path| if it was opened
|
| - // sucessfully during the initialization. The file is repositioned at
|
| + // successfully during the initialization. The file is repositioned at
|
| // offset 0.
|
| // IMPORTANT: This function must be async-signal-safe because it can be
|
| // called from a signal handler (symbolizing stack frames for a crash).
|
| @@ -741,7 +741,7 @@ void StackTrace::OutputToStream(std::ostream* os) const {
|
| namespace internal {
|
|
|
| // NOTE: code from sandbox/linux/seccomp-bpf/demo.cc.
|
| -char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) {
|
| +char* itoa_r(intptr_t i, char* buf, size_t sz, int base, size_t padding) {
|
| // Make sure we can write at least one NUL byte.
|
| size_t n = 1;
|
| if (n > sz)
|
| @@ -752,7 +752,7 @@ char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) {
|
| return NULL;
|
| }
|
|
|
| - char *start = buf;
|
| + char* start = buf;
|
|
|
| uintptr_t j = i;
|
|
|
| @@ -771,7 +771,7 @@ char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) {
|
|
|
| // Loop until we have converted the entire number. Output at least one
|
| // character (i.e. '0').
|
| - char *ptr = start;
|
| + char* ptr = start;
|
| do {
|
| // Make sure there is still enough space left in our output buffer.
|
| if (++n > sz) {
|
|
|