diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2014-06-12 04:27:39 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2014-06-12 04:29:16 (GMT) |
commit | c746b00eee09a48f6a180bf4955a7b90496f12f3 (patch) | |
tree | ab98f662837ce0d7183097f8835ed00e5991877c /Source/cmakemain.cxx | |
parent | 730e386291cb7aad8f532125216b2ec71d710748 (diff) | |
download | CMake-c746b00eee09a48f6a180bf4955a7b90496f12f3.zip CMake-c746b00eee09a48f6a180bf4955a7b90496f12f3.tar.gz CMake-c746b00eee09a48f6a180bf4955a7b90496f12f3.tar.bz2 |
Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.
Changing all categories with LC_ALL causes test failures in some locales.
For example, in some locales, the decimal characer could be a comma instead of period.
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r-- | Source/cmakemain.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 9f9f6bb..d8540cb 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -163,7 +163,7 @@ static void cmakemainProgressCallback(const char *m, float prog, int main(int ac, char const* const* av) { - setlocale(LC_ALL, ""); + setlocale(LC_CTYPE, ""); cmsys::Encoding::CommandLineArguments args = cmsys::Encoding::CommandLineArguments::Main(ac, av); ac = args.argc(); |