pyuno/source/module/pyuno_dlopenwrapper.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 89035356bce2a53014f6ecf7d001db3e7bb20ed7
Author: Miklos Vajna <vmik...@suse.cz>
Date:   Fri Apr 12 09:45:00 2013 +0200

    pyuno_dlopenwrapper: give error message before abort() if dlopen() fails
    
    Change-Id: Idf39b33efe4c7838f2669aec8773616416811d57

diff --git a/pyuno/source/module/pyuno_dlopenwrapper.c 
b/pyuno/source/module/pyuno_dlopenwrapper.c
index c726635..2f9d4fc 100644
--- a/pyuno/source/module/pyuno_dlopenwrapper.c
+++ b/pyuno/source/module/pyuno_dlopenwrapper.c
@@ -64,6 +64,7 @@ static void * load(void * address, char const * symbol) {
     h = dlopen(libname, RTLD_NOW | RTLD_GLOBAL);
     free(libname);
     if (h == NULL) {
+        fprintf(stderr, "failed to load pyuno: '%s'\n", dlerror());
         abort();
     }
     func = dlsym(h, symbol);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to