[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: gmodule-dl.c: _g_module_symbol()
From: Felix Kater <fkater () googlemail ! com>
Date: 2006-12-11 17:41:04
Message-ID: 20061211184104.a0337bf6.fkater () googlemail ! com
[Download RAW message or body]
Just this annotation:
On linux 'man dlopen' says that the correct way to check if dlsym() was
successful is to do something like this
dlerror();
p=dlsym(...);
pc=dlerror();
if(pc)
/* (error) */
else
/* (ok) */
while in gmodule-dl.c it is used:
p=dlsym(...);
if(!p)
/* (error) */
else
/* (ok) */
Felix
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic