diff options
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r-- | Source/cmCacheManager.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index c48d485..d441768 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -327,9 +327,10 @@ bool cmCacheManager::SaveCache(const char* path) tempFile += ".tmp"; std::ofstream fout(tempFile.c_str()); if(!fout) - { + { cmSystemTools::Error("Unable to open cache file for save. ", cacheFile.c_str()); + cmSystemTools::ReportLastSystemError(""); return false; } // before writting the cache, update the version numbers |