libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] [PATCH] libltdl error reporting


From: Peter O'Gorman
Subject: Re: [RFC] [PATCH] libltdl error reporting
Date: Mon, 14 Jun 2010 16:41:11 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]