diff options
author | Francois Pichet <pichet2000@gmail.com> | 2010-10-14 20:30:58 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2010-10-14 20:30:58 +0000 |
commit | a3037c3abd6f7aa2f4187b169b22d96e96a73250 (patch) | |
tree | 5085e58cf3e195b0d0129e48050968530dbdfbd1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6843141d39e7f877b695f639b1e0374673a790f0 (diff) | |
download | llvm-a3037c3abd6f7aa2f4187b169b22d96e96a73250.zip llvm-a3037c3abd6f7aa2f4187b169b22d96e96a73250.tar.gz llvm-a3037c3abd6f7aa2f4187b169b22d96e96a73250.tar.bz2 |
Always use binary mode for output stream. This is important to prevent unwanted end of line conversion on Windows. Should not affect Unix where O_BINARY is not defined. This fix /clang/test/lexer/preamble.c XFAIL on WIN32.
llvm-svn: 116509
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions