summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-12 17:21:21 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-12 17:21:21 (GMT)
commiteee2d2b035295a04a8e00c2f187cfa786bffcdc0 (patch)
treebda9c5648e9bf4ffeab1362bf7e4ff5e6ca7cc24 /Source/kwsys/SystemTools.hxx.in
parent0e76ab6eb69786eb51a882b9c930636a5c0c7704 (diff)
downloadCMake-eee2d2b035295a04a8e00c2f187cfa786bffcdc0.zip
CMake-eee2d2b035295a04a8e00c2f187cfa786bffcdc0.tar.gz
CMake-eee2d2b035295a04a8e00c2f187cfa786bffcdc0.tar.bz2
BUG: Revert the change to FileIsDirectory. Add FileIsSymlink and treat symlinks as files when removing directory
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index 8f22165..8654a67 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -502,6 +502,11 @@ public:
static bool FileIsDirectory(const char* name);
/**
+ * Return true if the file is a symlink
+ */
+ static bool FileIsSymlink(const char* name);
+
+ /**
* return true if the file has a given signature (first set of bytes)
*/
static bool FileHasSignature(