diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2017-02-19 17:26:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-27 14:14:28 (GMT) |
commit | ded616bdad46a445ea7ae05d47ae8f32026b13b5 (patch) | |
tree | ba3a048d94b1aadb5fb728885fbd9b02bc691ba9 /Tests/RunCMake/CommandLine/reject_fifo-stderr.txt | |
parent | 32cb4172bd6b98810f9638076e978a6bc569f6ae (diff) | |
download | CMake-ded616bdad46a445ea7ae05d47ae8f32026b13b5.zip CMake-ded616bdad46a445ea7ae05d47ae8f32026b13b5.tar.gz CMake-ded616bdad46a445ea7ae05d47ae8f32026b13b5.tar.bz2 |
cmListFileLexer: bail out on seek-errors
If we are given a FIFO, for example, we cannot seek back after trying to
read a Byte-Order-Mark.
Closes: #16607
Diffstat (limited to 'Tests/RunCMake/CommandLine/reject_fifo-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CommandLine/reject_fifo-stderr.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/reject_fifo-stderr.txt b/Tests/RunCMake/CommandLine/reject_fifo-stderr.txt new file mode 100644 index 0000000..7a335c3 --- /dev/null +++ b/Tests/RunCMake/CommandLine/reject_fifo-stderr.txt @@ -0,0 +1,2 @@ +CMake Error in .* + Error while reading Byte-Order-Mark\. File not seekable\? |