mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
It seems that file.seekg(0) will, in some circumstances, cause the next file.getline() to omit the first character it reads. Workaround the bug by seeking from ios::beg explicitly.
84 KiB
84 KiB