diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-12 17:21:21 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-12 17:21:21 (GMT) |
commit | eee2d2b035295a04a8e00c2f187cfa786bffcdc0 (patch) | |
tree | bda9c5648e9bf4ffeab1362bf7e4ff5e6ca7cc24 /Source/kwsys/SystemTools.hxx.in | |
parent | 0e76ab6eb69786eb51a882b9c930636a5c0c7704 (diff) | |
download | CMake-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.in | 5 |
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( |