From 305c73477c1ba5fd21be97229b5b404ed15faa61 Mon Sep 17 00:00:00 2001 From: vegorov Date: Mon, 16 Feb 2015 23:55:33 -0800 Subject: [PATCH] CodeTracer should open file in binary mode to avoid line endings normalization. Review URL: https://codereview.chromium.org/924943006 Cr-Commit-Position: refs/heads/master@{#26678} --- src/isolate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isolate.h b/src/isolate.h index 4fb8272cf5..35443d79dd 100644 --- a/src/isolate.h +++ b/src/isolate.h @@ -1561,7 +1561,7 @@ class CodeTracer FINAL : public Malloced { } if (file_ == NULL) { - file_ = base::OS::FOpen(filename_.start(), "a"); + file_ = base::OS::FOpen(filename_.start(), "ab"); } scope_depth_++;