[Cmake-commits] CMake branch, next, updated. v2.8.3-976-gd39724d
Ben Boeckel
ben.boeckel at kitware.com
Fri Dec 17 09:49:15 EST 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 d39724d889a64cb19fcaa85a7c735ad828c7a9dc (commit)
via 5249551f9fd11016fffae0cb44581ae3daa2169c (commit)
from bc5084c314a5681be8e967209776dd02601c33a2 (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=d39724d889a64cb19fcaa85a7c735ad828c7a9dc
commit d39724d889a64cb19fcaa85a7c735ad828c7a9dc
Merge: bc5084c 5249551
Author: Ben Boeckel <ben.boeckel at kitware.com>
AuthorDate: Fri Dec 17 09:49:12 2010 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Dec 17 09:49:12 2010 -0500
Merge topic 'dev/add_test-working-directory' into next
5249551 Flip slashes around on Windows
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5249551f9fd11016fffae0cb44581ae3daa2169c
commit 5249551f9fd11016fffae0cb44581ae3daa2169c
Author: Ben Boeckel <ben.boeckel at kitware.com>
AuthorDate: Fri Dec 17 09:45:39 2010 -0500
Commit: Ben Boeckel <ben.boeckel at kitware.com>
CommitDate: Fri Dec 17 09:45:39 2010 -0500
Flip slashes around on Windows
diff --git a/Tests/TestsWorkingDirectory/main.cxx b/Tests/TestsWorkingDirectory/main.cxx
index 6c4802d..e1c24ba 100644
--- a/Tests/TestsWorkingDirectory/main.cxx
+++ b/Tests/TestsWorkingDirectory/main.cxx
@@ -26,6 +26,13 @@ inline const char* Getcwd(char* buf, unsigned int len)
{
buf[0] = toupper(buf[0]);
}
+ for(char* p = buf; *p; ++p)
+ {
+ if(*p == '\\')
+ {
+ *p = '/';
+ }
+ }
return ret;
}
-----------------------------------------------------------------------
Summary of changes:
Tests/TestsWorkingDirectory/main.cxx | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list