On 06/10/2010 12:33 AM, Peter O'Gorman wrote:

At least glibc and Mac OS X reset the dlerror() string to NULL every
time a dl*() api is called (I will check what other systems do in the
next few days). This is so programmers can do:

Sigh, but FreeBSD doesn't.

dlopen nonexisting file
dlopen existing file
check dlerror()

Says 'Cannot open "nonexisting file"' on FreeBSD (null with glibc and Mac OS X).

Oh well, will be interesting to see what other systems to.

Peter

_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to