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/cmState.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/cmState.cxx')
-rw-r--r-- | Source/cmState.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx index 5957b5b..00d7e9a 100644 --- a/Source/cmState.cxx +++ b/Source/cmState.cxx @@ -107,9 +107,9 @@ bool cmState::LoadCache(const std::string& path, bool internal, return this->CacheManager->LoadCache(path, internal, excludes, includes); } -bool cmState::SaveCache(const std::string& path) +bool cmState::SaveCache(const std::string& path, cmMessenger* messenger) { - return this->CacheManager->SaveCache(path); + return this->CacheManager->SaveCache(path, messenger); } bool cmState::DeleteCache(const std::string& path) |