[cmake-commits] king committed cmCacheManager.cxx 1.99 1.100
cmCacheManager.h 1.47 1.48
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jan 29 17:30:50 EST 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv6912/Source
Modified Files:
cmCacheManager.cxx cmCacheManager.h
Log Message:
BUG: Fix uninitialzed members of cmCacheManager.
Index: cmCacheManager.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCacheManager.cxx,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- cmCacheManager.cxx 24 Jan 2008 12:37:08 -0000 1.99
+++ cmCacheManager.cxx 29 Jan 2008 22:30:48 -0000 1.100
@@ -42,6 +42,12 @@
0
};
+cmCacheManager::cmCacheManager()
+{
+ this->CacheMajorVersion = 0;
+ this->CacheMinorVersion = 0;
+}
+
const char* cmCacheManager::TypeToString(cmCacheManager::CacheEntryType type)
{
if ( type > 6 )
Index: cmCacheManager.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCacheManager.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- cmCacheManager.h 24 Jan 2008 12:37:08 -0000 1.47
+++ cmCacheManager.h 29 Jan 2008 22:30:48 -0000 1.48
@@ -30,6 +30,7 @@
class cmCacheManager
{
public:
+ cmCacheManager();
class CacheIterator;
friend class cmCacheManager::CacheIterator;
enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC,
More information about the Cmake-commits
mailing list