summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-02-22 19:31:07 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-02-22 19:31:07 (GMT)
commit45efcc8fa6eff6447402c9314953404d85d2a2c8 (patch)
treed65e38128ae38dc32780935f4ab0b1d94be61c16 /Source/cmake.h
parent64d997a78c1f2a24a8fd1978856a2b5f4a97a0f9 (diff)
parent8704525f201452929a2bec96fb04387c97ad8a79 (diff)
downloadCMake-45efcc8fa6eff6447402c9314953404d85d2a2c8.zip
CMake-45efcc8fa6eff6447402c9314953404d85d2a2c8.tar.gz
CMake-45efcc8fa6eff6447402c9314953404d85d2a2c8.tar.bz2
Merge topic 'disallow-funny-path-names'
8704525 Reject directory names containing '=' (#11689)
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 1bb42d3..70fcaa8 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -451,6 +451,8 @@ protected:
///! Find the full path to one of the cmake programs like ctest, cpack, etc.
std::string FindCMakeProgram(const char* name) const;
+
+ bool RejectUnsupportedPaths(const char* desc, std::string const& path);
private:
cmake(const cmake&); // Not implemented.
void operator=(const cmake&); // Not implemented.