diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-12-25 09:51:34 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-12-25 09:51:34 (GMT) |
commit | 36bc7e4c3f91c560df8051afedddea3f49474264 (patch) | |
tree | bd3c16699d1739da20218634cf2db49e05394408 /Tests | |
parent | 05c14ea0a97f3e8a7287f3e0bbc57f91e2a6e490 (diff) | |
download | CMake-36bc7e4c3f91c560df8051afedddea3f49474264.zip CMake-36bc7e4c3f91c560df8051afedddea3f49474264.tar.gz CMake-36bc7e4c3f91c560df8051afedddea3f49474264.tar.bz2 |
store old locale to a temporary variable
On Windows XP 32 bit setLocale seems to
cause old pointer invalidation and causes
program crash in destructor.
This was causing CPackZIP to crash so to
fix it we copy the value into a temporary
variable.
Diffstat (limited to 'Tests')
0 files changed, 0 insertions, 0 deletions