Bump version to 4.1-6
[LibreOffice.git] / cppunit / unix.patch
blob0a153ad05debb883d44ea24d4bc17a0960bb0d3a
1 --- misc/cppunit-1.13.1/src/cppunit/UnixDynamicLibraryManager.cpp
2 +++ misc/build/cppunit-1.13.1/src/cppunit/UnixDynamicLibraryManager.cpp
3 @@ -34,7 +34,11 @@
4 std::string
5 DynamicLibraryManager::getLastErrorDetail() const
7 - return "";
8 + const char *last_dlerror = ::dlerror();
9 + if (last_dlerror != NULL)
10 + return last_dlerror;
11 + else
12 + return "";