summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-10 14:37:50 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-02-10 14:37:50 (GMT)
commitdb9a2e8966256d50efcd593a20ed8a2b8b9cc05e (patch)
tree06e48b1e100d37f6da07a9a5f2489730515f63a8 /Tests
parent80c080052a123b71b69bf42fa99e01df621502bb (diff)
parent0f870234febd9dba0df78e903b412ea19d681062 (diff)
downloadCMake-db9a2e8966256d50efcd593a20ed8a2b8b9cc05e.zip
CMake-db9a2e8966256d50efcd593a20ed8a2b8b9cc05e.tar.gz
CMake-db9a2e8966256d50efcd593a20ed8a2b8b9cc05e.tar.bz2
Merge topic 'no-global-setlocale'
0f870234 Merge branch 'backport-no-global-setlocale' into no-global-setlocale cd408d93 Add setlocale() calls around use of libarchive APIs (#14934, #15377) 87be2e14 Do not call setlocale() globally in CMake applications (#15377)
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLib/PseudoMemcheck/memtester.cxx.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tests/CMakeLib/PseudoMemcheck/memtester.cxx.in b/Tests/CMakeLib/PseudoMemcheck/memtester.cxx.in
index 43c0ba7..c018e08 100644
--- a/Tests/CMakeLib/PseudoMemcheck/memtester.cxx.in
+++ b/Tests/CMakeLib/PseudoMemcheck/memtester.cxx.in
@@ -1,14 +1,12 @@
#include <cmSystemTools.h>
#include <cmsys/Encoding.hxx>
#include <string>
-#include <locale.h>
#define RETVAL @_retval@
int
main(int ac, char **av)
{
- setlocale(LC_CTYPE, "");
cmsys::Encoding::CommandLineArguments args =
cmsys::Encoding::CommandLineArguments::Main(ac, av);
int argc = args.argc();