[PATCH 1/5] Only call dlerror() when dlsym() fails.

Thomas Klausner tk at giga.or.at
Mon Nov 5 17:26:39 CET 2012


On Mon, Nov 05, 2012 at 08:22:57AM +0100, Werner Koch wrote:
> On Sat, 27 Oct 2012 19:56, tk at giga.or.at said:
> 
> > State of dlerror() is undefined otherwise, at least on NetBSD.
> 
> I would preser a configure test along with an AC_REPLACE_FUNCS.  This
> should be a common problem on NetBSD.

I'm not sure you understood the patch. Or I didn't understand your
comment.

What should the configure test check? The dlerror() function exists,
just its return value is undefined in case there was no error with
dlsym().
 Thomas



More information about the Gnupg-devel mailing list