diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2018-01-09 20:56:40 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2018-01-15 14:27:44 (GMT) |
commit | a9c483071eb8a5b5da38726f42be98a2392f7a7f (patch) | |
tree | a1dfc2d3a42e84f89342b5845ea6795c1ccff654 /Source/cmake.cxx | |
parent | e40541339ae8a780bc410f0ef8b22d01e594c1ba (diff) | |
download | CMake-a9c483071eb8a5b5da38726f42be98a2392f7a7f.zip CMake-a9c483071eb8a5b5da38726f42be98a2392f7a7f.tar.gz CMake-a9c483071eb8a5b5da38726f42be98a2392f7a7f.tar.bz2 |
cmCacheManager: Truncate values containing newlines
Fixes #16098.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 2a5bb6c..152352f 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1770,7 +1770,7 @@ bool cmake::LoadCache(const std::string& path, bool internal, bool cmake::SaveCache(const std::string& path) { - bool result = this->State->SaveCache(path); + bool result = this->State->SaveCache(path, this->GetMessenger()); static const char* entries[] = { "CMAKE_CACHE_MAJOR_VERSION", "CMAKE_CACHE_MINOR_VERSION", "CMAKE_CACHE_PATCH_VERSION", |