summaryrefslogtreecommitdiff
path: root/devel/pwlib/files/patch-src-ptlib-unix-udll.cxx
blob: 8cfadebbfe9fc6b695df80229cc93880fa51c241 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/ptlib/unix/udll.cxx.orig	Wed Nov 30 13:47:42 2005
+++ src/ptlib/unix/udll.cxx	Wed Apr  5 22:36:51 2006
@@ -382,6 +382,10 @@
   dllHandle = dlopen((char *)(const char *)name, RTLD_NOW);
 #else
+  const char *dummyerr = dlerror();
   dllHandle = dlopen((const char *)name, RTLD_NOW);
+  const char *err = dlerror();
+  if (err != NULL)
+    cerr << err << '\n';
 #endif
 
   return IsLoaded();