blob: 0a153ad05debb883d44ea24d4bc17a0960bb0d3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- misc/cppunit-1.13.1/src/cppunit/UnixDynamicLibraryManager.cpp
+++ misc/build/cppunit-1.13.1/src/cppunit/UnixDynamicLibraryManager.cpp
@@ -34,7 +34,11 @@
std::string
DynamicLibraryManager::getLastErrorDetail() const
{
- return "";
+ const char *last_dlerror = ::dlerror();
+ if (last_dlerror != NULL)
+ return last_dlerror;
+ else
+ return "";
}
|