From owner-freebsd-current Tue Nov 7 11:32:57 2000 Delivered-To: freebsd-current@freebsd.org Received: from h132-197-97-45.gte.com (h132-197-97-45.gte.com [132.197.97.45]) by hub.freebsd.org (Postfix) with ESMTP id 4392337B479 for ; Tue, 7 Nov 2000 11:32:53 -0800 (PST) Received: (from ak03@localhost) by h132-197-97-45.gte.com (8.11.0/8.11.0) id eA7JWqs38382 for current@freebsd.org; Tue, 7 Nov 2000 14:32:52 -0500 (EST) (envelope-from ak03) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.4.0.FreeBSD:001107143252:37037=_" In-Reply-To: <200011071848.eA7Iml425106@vashon.polstra.com> Date: Tue, 07 Nov 2000 14:32:52 -0500 (EST) Organization: GTE Laboratories Inc. From: "Alexander N. Kabaev" To: current@freebsd.org Subject: Re: Problem with dlopen()/dlsym() after recent crt* changes Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format --_=XFMail.1.4.0.FreeBSD:001107143252:37037=_ Content-Type: text/plain; charset=us-ascii > > 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? --_=XFMail.1.4.0.FreeBSD:001107143252:37037=_ Content-Disposition: attachment; filename="rtld.patch" Content-Transfer-Encoding: base64 Content-Description: rtld.patch Content-Type: application/octet-stream; name=rtld.patch; SizeOnDisk=414 SW5kZXg6IHJ0bGQuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvdXNyL25jdnMvc3JjL2xpYmV4ZWMv cnRsZC1lbGYvcnRsZC5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjQ5CmRpZmYgLXUgLXIxLjQ5 IHJ0bGQuYwotLS0gcnRsZC5jCTIwMDAvMDkvMTkgMDQ6Mjc6MTYJMS40OQorKysgcnRsZC5jCTIw MDAvMTEvMDcgMTk6MjY6NTYKQEAgLTE4MzEsOCArMTgzMSw2IEBACiAKICAgICBpZiAoZGVmICE9 IE5VTEwpCiAJKmRlZm9ial9vdXQgPSBkZWZvYmo7Ci0gICAgZWxzZQotCV9ydGxkX2Vycm9yKCIl czogVW5kZWZpbmVkIHN5bWJvbCBcIiVzXCIiLCByZWZvYmotPnBhdGgsIG5hbWUpOwogICAgIHJl dHVybiBkZWY7CiB9CiAK --_=XFMail.1.4.0.FreeBSD:001107143252:37037=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message