2012-09-25 12:59:50 -05:00
|
|
|
--- misc/cppunit-1.13.1/src/cppunit/UnixDynamicLibraryManager.cpp
|
|
|
|
+++ misc/build/cppunit-1.13.1/src/cppunit/UnixDynamicLibraryManager.cpp
|
2012-08-17 12:20:32 -05:00
|
|
|
@@ -34,7 +34,11 @@
|
|
|
|
std::string
|
|
|
|
DynamicLibraryManager::getLastErrorDetail() const
|
|
|
|
{
|
|
|
|
- return "";
|
|
|
|
+ const char *last_dlerror = ::dlerror();
|
|
|
|
+ if (last_dlerror != NULL)
|
|
|
|
+ return last_dlerror;
|
|
|
|
+ else
|
|
|
|
+ return "";
|
|
|
|
}
|
|
|
|
|
|
|
|
|