This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Linux: Rewrite __old_getdents64 [BZ #23497]


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.

-- 
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]