Rod Evans wrote:
> I can't find the code for this yet, but my speculation is that there's
> something like:
> 
>     sym = dlsym(handle-for-zlui-gtk.so, "initLibrary")
>     if ((str = dlerror()) != NULL)
>         fail();
> 
> where as things should be:
> 
>     if ((sym = dlsym(handle-for-zlui-gtk.so, "initLibrary")) == NULL) {
>         printf("%s\n", dlerror());
>         fail();
> 
> Seems hard to believe, but I can't think of anything else right now.
> 

Yep.  That's just what it does.

http://git.openinkpot.org/fbreader.git/tree/zlibrary/core/src/unix/library/ZLibrary.cpp#n130

-- 
James Carlson         42.703N 71.076W         <[email protected]>
_______________________________________________
tools-linking mailing list
[email protected]

Reply via email to