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
Showing
- Source/cmListFileCache.cxx 7 additions, 0 deletionsSource/cmListFileCache.cxx
- Source/cmListFileLexer.c 6 additions, 2 deletionsSource/cmListFileLexer.c
- Source/cmListFileLexer.h 1 addition, 0 deletionsSource/cmListFileLexer.h
- Tests/RunCMake/CMakeLists.txt 1 addition, 1 deletionTests/RunCMake/CMakeLists.txt
- Tests/RunCMake/CommandLine/RunCMakeTest.cmake 13 additions, 0 deletionsTests/RunCMake/CommandLine/RunCMakeTest.cmake
- Tests/RunCMake/CommandLine/reject_fifo-result.txt 1 addition, 0 deletionsTests/RunCMake/CommandLine/reject_fifo-result.txt
- Tests/RunCMake/CommandLine/reject_fifo-stderr.txt 2 additions, 0 deletionsTests/RunCMake/CommandLine/reject_fifo-stderr.txt
Loading
Please register or sign in to comment