Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2000 10:48:47 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Cc:        ak03@gte.com
Subject:   Re: Problem with dlopen()/dlsym() after recent crt* changes
Message-ID:  <200011071848.eA7Iml425106@vashon.polstra.com>
In-Reply-To: <XFMail.001107132617.ak03@gte.com>
References:  <XFMail.001107132617.ak03@gte.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <XFMail.001107132617.ak03@gte.com>, Alexander N. Kabaev
<ak03@gte.com> wrote:

> I think dymanic loader should clear it's error_string variable
> before returning success to the caller.

I don't think it is allowed to do that.  See the SUSv2 description:

    http://www.opengroup.org/onlinepubs/007908799/xsh/dlerror.html

> I am halfway done preparing the patch to do that. Is that the bug
> you mentioned or there is something else?

The bug is that when I implemented support for RTLD_DEFAULT, I made
a mistake and set the dlerror string in a place where I shouldn't
have set it.

John


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011071848.eA7Iml425106>