From owner-freebsd-current Tue Nov 7 10:48:57 2000 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id D978237B4FE for ; Tue, 7 Nov 2000 10:48:51 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id KAA11681; Tue, 7 Nov 2000 10:48:48 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.0/8.11.0) id eA7Iml425106; Tue, 7 Nov 2000 10:48:47 -0800 (PST) (envelope-from jdp) Date: Tue, 7 Nov 2000 10:48:47 -0800 (PST) Message-Id: <200011071848.eA7Iml425106@vashon.polstra.com> To: current@freebsd.org From: John Polstra Reply-To: current@freebsd.org Cc: ak03@gte.com Subject: Re: Problem with dlopen()/dlsym() after recent crt* changes In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Alexander N. Kabaev 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