diff options
author | Jose <jose@zeroc.com> | 2014-10-29 16:18:32 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-10-29 16:18:32 +0100 |
commit | 8cd9109248e15204a8558f44cc83c59015494eb3 (patch) | |
tree | ff8fa6713bf2f283a837d8f59728f4d35b2f6b5d /cpp | |
parent | Fixed ICE-5786: fixed Ice communicator destroy to be thread safe (diff) | |
download | ice-8cd9109248e15204a8558f44cc83c59015494eb3.tar.bz2 ice-8cd9109248e15204a8558f44cc83c59015494eb3.tar.xz ice-8cd9109248e15204a8558f44cc83c59015494eb3.zip |
Fixed (ICE-5794) - slice2java/slice2cs parallel build/concurrent crash
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/Slice/Preprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Preprocessor.cpp b/cpp/src/Slice/Preprocessor.cpp index 25eb99c26c7..816417d1fc4 100644 --- a/cpp/src/Slice/Preprocessor.cpp +++ b/cpp/src/Slice/Preprocessor.cpp @@ -229,7 +229,7 @@ Slice::Preprocessor::preprocess(bool keepComments, const string& extraArgs) // First try to open temporay file in tmp directory. // #ifdef _WIN32 - wchar_t* name = _wtempnam(NULL, L".preprocess"); + wchar_t* name = _wtempnam(0, IceUtil::stringToWstring(".preprocess." + IceUtil::generateUUID()).c_str()); if(name) { // |