diff options
author | Brad King <brad.king@kitware.com> | 2013-10-14 17:54:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-17 13:07:00 (GMT) |
commit | a8c652342f0e4dcaf933ecb0ce164b44d4997ae4 (patch) | |
tree | f95ad82b3bbadfbfde14b1642fa88b385c322373 /Tests/RunCMake/Syntax/UnterminatedBracketComment-result.txt | |
parent | dbd933365ec780d27ab7c0dfba30dc1af1094607 (diff) | |
download | CMake-a8c652342f0e4dcaf933ecb0ce164b44d4997ae4.zip CMake-a8c652342f0e4dcaf933ecb0ce164b44d4997ae4.tar.gz CMake-a8c652342f0e4dcaf933ecb0ce164b44d4997ae4.tar.bz2 |
cmListFileLexer: Convert CRLF -> LF newlines explicitly
Read input files in binary mode instead of text mode and convert CRLF
newlines to LF newlines explicitly in our own buffer. This is necessary
to read CMake source files with CRLF newlines on platforms whose C
runtime libraries do not transform newlines in text mode. For example,
a Cygwin or Linux binary may not transform CRLF -> LF in files read from
a Windows filesystem. Perform the conversion ourselves to ensure that
multi-line string literals in CMake source files have LF newlines
everywhere.
Diffstat (limited to 'Tests/RunCMake/Syntax/UnterminatedBracketComment-result.txt')
0 files changed, 0 insertions, 0 deletions