commit | 21a1b4488ba22eaabea941741c455cd6aa44b782 | [log] [tgz] |
---|---|---|
author | Aart Bik <ajcbik@google.com> | Fri Apr 29 13:12:10 2016 -0700 |
committer | Aart Bik <ajcbik@google.com> | Fri Apr 29 13:12:10 2016 -0700 |
tree | ca08be908dfc84f48284f1c1dcdff4f52248fb38 | |
parent | db9197b2f25f519988097949c3f9c0fe9b7f973d [diff] |
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 Change-Id: I4e27d361e58d935537518a68fa6eddeeaed01ab2