This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Report dlsym, dlvsym lookup errors using dlerror [BZ #19509]
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: Martin Sebor <msebor at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 09 Feb 2016 23:35:21 +0100
- Subject: Re: [PATCH] Report dlsym, dlvsym lookup errors using dlerror [BZ #19509]
- Authentication-results: sourceware.org; auth=none
- References: <56B9F83A dot 1000500 at redhat dot com> <56BA55C7 dot 6040505 at gmail dot com> <56BA5C0D dot 2040906 at redhat dot com>
* Carlos O'Donell:
> A POSIX clarification should probably be made here, but I agree
> that from a QoI it is better to return some kind of error because
> that's users expect. I also expect that's what other implementations
> do (but haven't verified).
It's also what the Solaris examples suggest:
<http://docs.oracle.com/cd/E19683-01/816-1386/chapter3-26/index.html>
I don't see any reason why RTLD_NEXT should behave differently from
other handles.