diff options
author | Brad King <brad.king@kitware.com> | 2014-08-11 13:30:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-08-11 13:30:22 (GMT) |
commit | 51c82c3a66f02192df4db5d51d95f7311bc2181f (patch) | |
tree | 777ae09ff86923433c847253c97fb2c2d4d5f3b0 /Source/kwsys/testSystemTools.cxx | |
parent | 3b0d634f70db6af5469e83bb7c14f687bfafda74 (diff) | |
parent | fe587db415b1cf728f42c5db55c3acbad7a9a529 (diff) | |
download | CMake-51c82c3a66f02192df4db5d51d95f7311bc2181f.zip CMake-51c82c3a66f02192df4db5d51d95f7311bc2181f.tar.gz CMake-51c82c3a66f02192df4db5d51d95f7311bc2181f.tar.bz2 |
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/testSystemTools.cxx')
-rw-r--r-- | Source/kwsys/testSystemTools.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Source/kwsys/testSystemTools.cxx b/Source/kwsys/testSystemTools.cxx index 15123eb..04ab4fc 100644 --- a/Source/kwsys/testSystemTools.cxx +++ b/Source/kwsys/testSystemTools.cxx @@ -507,28 +507,6 @@ static bool CheckStringOperations() res = false; } - int targc; - char **targv; - kwsys::SystemTools::ConvertWindowsCommandLineToUnixArguments - ("\"Local Mojo\\Voodoo.asp\" -CastHex \"D:\\My Secret Mojo\\Voodoo.mp3\"", - &targc, &targv); - if (targc != 4 || strcmp(targv[1],"Local Mojo\\Voodoo.asp") || - strcmp(targv[2],"-CastHex") || - strcmp(targv[3],"D:\\My Secret Mojo\\Voodoo.mp3")) - { - kwsys_ios::cerr - << "Problem with ConvertWindowsCommandLineToUnixArguments" - << "\'\"Local Mojo\\Voodoo.asp\" " - << "-CastHex \"D:\\My Secret Mojo\\Voodoo.mp3\"\'" - << kwsys_ios::endl; - res = false; - } - for (;targc >=0; --targc) - { - delete [] targv[targc]; - } - delete [] targv; - return res; } |