summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-13 19:44:59 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-06-13 19:44:59 (GMT)
commitf69501dfe2b6dc268ba9409a53e1413223187434 (patch)
treeebb5bc548d7d3adfa4f88e1e4a70f53bfee2af05 /Source/ctest.cxx
parentba36363121f2004c196e785d5b67883a09160ec0 (diff)
parentc746b00eee09a48f6a180bf4955a7b90496f12f3 (diff)
downloadCMake-f69501dfe2b6dc268ba9409a53e1413223187434.zip
CMake-f69501dfe2b6dc268ba9409a53e1413223187434.tar.gz
CMake-f69501dfe2b6dc268ba9409a53e1413223187434.tar.bz2
Merge topic 'setlocale'
c746b00e Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 167e348..ff32de9 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -116,7 +116,7 @@ static const char * cmDocumentationOptions[][2] =
// this is a test driver program for cmCTest.
int main (int argc, char const* const* argv)
{
- setlocale(LC_ALL, "");
+ setlocale(LC_CTYPE, "");
cmsys::Encoding::CommandLineArguments encoding_args =
cmsys::Encoding::CommandLineArguments::Main(argc, argv);