summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-29 16:20:52 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-29 16:20:52 (GMT)
commit3fc7dc5e70cd444731dd3adcc4599f9750e4936c (patch)
tree99f891a85d30981fa83a68c09ab33922356ec2fc /Source/cmSystemTools.h
parentcf8d34040e66e2ffb13b4f6598024b38e298633d (diff)
downloadCMake-3fc7dc5e70cd444731dd3adcc4599f9750e4936c.zip
CMake-3fc7dc5e70cd444731dd3adcc4599f9750e4936c.tar.gz
CMake-3fc7dc5e70cd444731dd3adcc4599f9750e4936c.tar.bz2
ENH: Move permissions code to kwsys so that copyfile can use it. Fixes Bug #1133 - cmake -E copy file dir sets the wrong permissions on the destination directory
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 0cac0f0..ad2fe43 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -20,7 +20,6 @@
#include "cmStandardIncludes.h"
#include <cmsys/SystemTools.hxx>
-#include <sys/types.h>
/** \class cmSystemTools
* \brief A collection of useful functions for CMake.
@@ -278,10 +277,6 @@ public:
of the form var=value */
static bool PutEnv(const char* value);
- ///! Get permissions of the file
- static bool GetPermissions(const char* file, mode_t& mode);
- static bool SetPermissions(const char* file, mode_t mode);
-
private:
static bool s_ForceUnixPaths;
static bool s_RunCommandHideConsole;