Commit ca223dc3 authored by Aart Bik's avatar Aart Bik
Browse files

Fix infamous 0d0a bug on Windows by not opening file binary.

Rationale:
On Windows, writing out 0a really writes out 0d0a in text mode.
Thus, the file should be opened in binary. On Linux, this is
a nop (in fact O_BINARY does not exist).

BUG=28385192

(cherry picked from commit 21a1b448)

Change-Id: I906c610fdb2f43b1ef95eff2533a06af85de0850
parent 5b9c1708
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment