summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-24 11:05:24 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-24 11:05:24 (GMT)
commitead4adad758f012c7dddfc27f3b54dcb886202b8 (patch)
tree77f94603fdb379906964dfb9c4d117798b9b9e66 /Source/kwsys/SystemTools.cxx
parent1138907a58402f8004a6c6ff163a30b58239ece7 (diff)
parent36819d99c141758468308f3a5926e51cb6496901 (diff)
downloadCMake-ead4adad758f012c7dddfc27f3b54dcb886202b8.zip
CMake-ead4adad758f012c7dddfc27f3b54dcb886202b8.tar.gz
CMake-ead4adad758f012c7dddfc27f3b54dcb886202b8.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2020-07-24 (c3054d90)
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 25705ea..2c39b91 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -1453,7 +1453,7 @@ bool SystemTools::PathCygwinToWin32(const char* path, char* win32_path)
bool SystemTools::Touch(const std::string& filename, bool create)
{
- if (!SystemTools::PathExists(filename)) {
+ if (!SystemTools::FileExists(filename)) {
if (create) {
FILE* file = Fopen(filename, "a+b");
if (file) {