Date: Tue, 07 Nov 2000 14:32:52 -0500 (EST) From: "Alexander N. Kabaev" <ak03@gte.com> To: current@freebsd.org Subject: Re: Problem with dlopen()/dlsym() after recent crt* changes Message-ID: <XFMail.001107143252.ak03@gte.com> In-Reply-To: <200011071848.eA7Iml425106@vashon.polstra.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] > > I don't think it is allowed to do that. See the SUSv2 description: > > http://www.opengroup.org/onlinepubs/007908799/xsh/dlerror.html > Sorry, you are right of course. The attached patch removes the _rtld_error call at the end of the symlook_default function which seems to be unnecessary. Is that what you had in mind? [-- Attachment #2 --] Index: rtld.c =================================================================== RCS file: /usr/ncvs/src/libexec/rtld-elf/rtld.c,v retrieving revision 1.49 diff -u -r1.49 rtld.c --- rtld.c 2000/09/19 04:27:16 1.49 +++ rtld.c 2000/11/07 19:26:56 @@ -1831,8 +1831,6 @@ if (def != NULL) *defobj_out = defobj; - else - _rtld_error("%s: Undefined symbol \"%s\"", refobj->path, name); return def; }home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001107143252.ak03>
