This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Linux: Rewrite __old_getdents64 [BZ #23497]
On 09/08/2018 12:29, Carlos O'Donell wrote:
> On 08/09/2018 10:21 AM, Adhemerval Zanella wrote:
>>> +/* Use dlvsym to locate the symbol. We need both the current and
>>> + compatibility definition of readdir64. */
>>> +typedef struct __old_dirent64 *(*compat_readdir64_type) (DIR *);
>
> ... you don't use dlvsym, but instead use compat_symbol_reference.
>
The test does it in fact, it is just the comment that is misplaced.