This is an automated email from the ASF dual-hosted git repository.
dgkimura pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new ad33bbb GEODE-3624: Fix Windows 32-bit build
ad33bbb is described below
commit ad33bbbc7baaa3ea00d5c4161460f7aef827cac5
Author: David Kimura <[email protected]>
AuthorDate: Thu Nov 16 17:30:53 2017 -0800
GEODE-3624: Fix Windows 32-bit build
---
clicache/src/ExceptionTypes.hpp | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/clicache/src/ExceptionTypes.hpp b/clicache/src/ExceptionTypes.hpp
index e529cb4..394859e 100644
--- a/clicache/src/ExceptionTypes.hpp
+++ b/clicache/src/ExceptionTypes.hpp
@@ -131,11 +131,8 @@ namespace Apache
inline static String^ GetStackTrace(
const apache::geode::client::Exception& nativeEx )
{
- char nativeExStack[2048] = { '\0' };
-#ifndef _WIN64
- nativeEx.getStackTrace(nativeExStack, 2047);
-#endif
- return ManagedString::Get(nativeExStack);
+ std::string nativeExStack = nativeEx.getStackTrace();
+ return ManagedString::Get(nativeExStack.c_str());
}
/// <summary>
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].