This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch y4m
in repository legacy-imlib2.
View the commit online.
commit 3dfef024c9840070c28c2b83514a797551f1fd98
Author: NRK <n...@disroot.org>
AuthorDate: Sun Jun 18 14:09:22 2023 +0600
loading: add some debug logs
---
src/lib/loaders.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/lib/loaders.c b/src/lib/loaders.c
index 4e19ec6..51e0c5f 100644
--- a/src/lib/loaders.c
+++ b/src/lib/loaders.c
@@ -186,11 +186,17 @@ __imlib_ProduceLoader(const char *file)
l->handle = dlopen(file, RTLD_NOW | RTLD_LOCAL);
if (!l->handle)
- goto bail;
+ {
+ DP("%s: dlerror: %s\n", __func__, dlerror());
+ goto bail;
+ }
l->module = m = dlsym(l->handle, "loader");
if (!l->module)
- goto bail;
+ {
+ DP("%s: dlerror: %s\n", __func__, dlerror());
+ goto bail;
+ }
/* Check version and that we have at least load() or save() */
if (m->ldr_version != IMLIB2_LOADER_VERSION ||
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.