summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-17 17:06:41 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-17 17:06:41 (GMT)
commite9fcafafe52d01cc3b89190b3787bebd807198f0 (patch)
treefc258cf2774def39138c6fbde9780cef1cad4cb4 /Source/kwsys/SystemTools.cxx
parentd5631f370b2355b69e5895734d8fe7e4c090e8cf (diff)
downloadCMake-e9fcafafe52d01cc3b89190b3787bebd807198f0.zip
CMake-e9fcafafe52d01cc3b89190b3787bebd807198f0.tar.gz
CMake-e9fcafafe52d01cc3b89190b3787bebd807198f0.tar.bz2
ENH: Use const char where it should have been. At same time fix Bug#2958
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 0096298..f54318c 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -359,10 +359,10 @@ bool SystemTools::MakeDirectory(const char* path)
// return EACCES when it should return EEXISTS
// if it is some other error besides directory exists
// then return false
- if( (errno != EEXIST)
+ if( (errno != EEXIST)
#ifdef __BORLANDC__
- && (errno != EACCES)
-#endif
+ && (errno != EACCES)
+#endif
)
{
return false;