[Cmake-commits] CMake branch, next, updated. v2.8.1-1287-g3a84da8
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jun 3 11:19:33 EDT 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 3a84da8f75f83cf9e18ee6e65fac01ef477223e2 (commit)
via cae85c9f65c87bfa05376077f70cb05c26b2bc66 (commit)
from a1239d50f68cc3dccc00c7303d8e46e40336ef02 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3a84da8f75f83cf9e18ee6e65fac01ef477223e2
commit 3a84da8f75f83cf9e18ee6e65fac01ef477223e2
Merge: a1239d5 cae85c9
Author: Brad King <brad.king at kitware.com>
Date: Thu Jun 3 11:19:16 2010 -0400
Merge branch 'file-write-umask' into next
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cae85c9f65c87bfa05376077f70cb05c26b2bc66
commit cae85c9f65c87bfa05376077f70cb05c26b2bc66
Author: Brad King <brad.king at kitware.com>
Date: Thu Jun 3 11:18:39 2010 -0400
Borland: No S_IWGRP is available
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 9bd84d8..df9863f 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -191,6 +191,8 @@ bool cmFileCommand::HandleWriteCommand(std::vector<std::string> const& args,
cmSystemTools::SetPermissions(fileName.c_str(),
#if defined( _MSC_VER ) || defined( __MINGW32__ )
mode | S_IWRITE
+#elif defined( __BORLANDC__ )
+ mode | S_IWUSR
#else
mode | S_IWUSR | S_IWGRP
#endif
diff --git a/Source/cmWriteFileCommand.cxx b/Source/cmWriteFileCommand.cxx
index ec558b6..b2acb2b 100644
--- a/Source/cmWriteFileCommand.cxx
+++ b/Source/cmWriteFileCommand.cxx
@@ -62,6 +62,8 @@ bool cmWriteFileCommand
cmSystemTools::SetPermissions(fileName.c_str(),
#if defined( _MSC_VER ) || defined( __MINGW32__ )
mode | S_IWRITE
+#elif defined( __BORLANDC__ )
+ mode | S_IWUSR
#else
mode | S_IWUSR | S_IWGRP
#endif
-----------------------------------------------------------------------
Summary of changes:
Source/cmFileCommand.cxx | 2 ++
Source/cmWriteFileCommand.cxx | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list