[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/trinity/kdelibs/libltdl
From: Timothy Pearson <kb9vqf () pearsoncomputing ! net>
Date: 2011-10-28 23:54:47
Message-ID: 20111028235447.E606AAC889 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1261212 by tpearson:
Add debugging message upon libltdl dlopen() failure
This greatly simplifies debugging TDE dynamically loaded plugins!
M +4 -0 ltdl.c
--- branches/trinity/kdelibs/libltdl/ltdl.c #1261211:1261212
@@ -616,6 +616,10 @@
if (!module)
{
+ char *error;
+ if ((error = dlerror()) != NULL) {
+ printf ("The Trinity ltdl loader was unable to dlopen() the shared library \
'%s' : '%s'\n\r", filename, error); + }
MUTEX_SETERROR (DLERROR (CANNOT_OPEN));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic