Commit ff323cb9 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: move to RC 10

parent 915e85be
...@@ -7,7 +7,7 @@ SET(CMake_VERSION_MAJOR 2) ...@@ -7,7 +7,7 @@ SET(CMake_VERSION_MAJOR 2)
SET(CMake_VERSION_MINOR 4) SET(CMake_VERSION_MINOR 4)
SET(CMake_VERSION_PATCH 7) SET(CMake_VERSION_PATCH 7)
# for an actual release this should not be defined # for an actual release this should not be defined
SET(CMake_VERSION_RC 9) SET(CMake_VERSION_RC 10)
SET(CMake_VERSION "${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") SET(CMake_VERSION "${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}")
SET(CMake_VERSION_FULL "${CMake_VERSION}.${CMake_VERSION_PATCH}") SET(CMake_VERSION_FULL "${CMake_VERSION}.${CMake_VERSION_PATCH}")
......
Changes in CMake 2.4.7 Changes in CMake 2.4.7
--- RC 10 ----
* Fix rebuild problem with makefiles and cmake vs CMakeSetup
--- RC 9 --- --- RC 9 ---
* Fix problem with \@ in configure files bug# 5130 * Fix problem with \@ in configure files bug# 5130
--- RC 8 --- --- RC 8 ---
......
...@@ -125,6 +125,11 @@ inline const char* Getcwd(char* buf, unsigned int len) ...@@ -125,6 +125,11 @@ inline const char* Getcwd(char* buf, unsigned int len)
fprintf(stderr, "No current working directory.\n"); fprintf(stderr, "No current working directory.\n");
abort(); abort();
} }
// make sure the drive letter is capital
if(strlen(buf) > 1 && buf[1] == ':')
{
buf[0] = toupper(buf[0]);
}
return ret; return ret;
} }
inline int Chdir(const char* dir) inline int Chdir(const char* dir)
...@@ -2842,6 +2847,11 @@ kwsys_stl::string SystemTools::GetActualCaseForPath(const char* p) ...@@ -2842,6 +2847,11 @@ kwsys_stl::string SystemTools::GetActualCaseForPath(const char* p)
{ {
return p; return p;
} }
// make sure drive letter is always upper case
if(longPath.size() > 1 && longPath[1] == ':')
{
longPath[0] = toupper(longPath[0]);
}
return longPath; return longPath;
#endif #endif
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment