diff options
author | Francois Pichet <pichet2000@gmail.com> | 2010-10-14 20:49:46 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2010-10-14 20:49:46 +0000 |
commit | 41232a9872d0a04fb00fddf0cf667454155dc25e (patch) | |
tree | 6b07b3f40b4106c5aa305feb9d8ba43547f1aa26 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 062749cb25c7e69dac4733247ebd9c2e3ca0e60e (diff) | |
download | llvm-41232a9872d0a04fb00fddf0cf667454155dc25e.zip llvm-41232a9872d0a04fb00fddf0cf667454155dc25e.tar.gz llvm-41232a9872d0a04fb00fddf0cf667454155dc25e.tar.bz2 |
r116509 fixed the Win32 XFAIL.
The failing was due to this:
1. preamble.c contains CR+LF new lines
2. write() is called with a buffer containing the original (CR+LF) to output the result on the console.
3. In text mode(the default), write() convert LF to CR+LF even if LF is preceded by CR, hence we have CR+CR+LF which filecheck interprets as 2 lines.
llvm-svn: 116513
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions