diff options
author | Brad King <brad.king@kitware.com> | 2015-02-06 18:38:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-06 18:38:05 (GMT) |
commit | e1ce81a2cb66c70d806adf755d9ee273687ca962 (patch) | |
tree | 8fe5fcf05cd8092ccb1b80b0879c3928bec2af82 /Source/cmArchiveWrite.cxx | |
parent | 44100adc6c7f7db7bfd4ccf0d8bd18de8ab195c0 (diff) | |
parent | cd408d93fdf347ff63a8062f75f1f4ee3e898b17 (diff) | |
download | CMake-e1ce81a2cb66c70d806adf755d9ee273687ca962.zip CMake-e1ce81a2cb66c70d806adf755d9ee273687ca962.tar.gz CMake-e1ce81a2cb66c70d806adf755d9ee273687ca962.tar.bz2 |
Merge branch 'backport-no-global-setlocale' into release-3.1
Diffstat (limited to 'Source/cmArchiveWrite.cxx')
-rw-r--r-- | Source/cmArchiveWrite.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmArchiveWrite.cxx b/Source/cmArchiveWrite.cxx index a2aecac..9f28d42 100644 --- a/Source/cmArchiveWrite.cxx +++ b/Source/cmArchiveWrite.cxx @@ -12,6 +12,7 @@ #include "cmArchiveWrite.h" #include "cmSystemTools.h" +#include "cmLocale.h" #include <cmsys/ios/iostream> #include <cmsys/Directory.hxx> #include <cmsys/FStream.hxx> @@ -259,6 +260,9 @@ bool cmArchiveWrite::AddFile(const char* file, } const char* out = file + skip; + cmLocaleRAII localeRAII; + static_cast<void>(localeRAII); + // Meta-data. std::string dest = prefix? prefix : ""; dest += out; |