mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Use LFS readdir in generic POSIX getcwd [BZ# 22899]
Checked on x86_64-linux-gnu and i686-linux-gnu.
This commit is contained in:
@ -42,7 +42,11 @@ weak_alias (__readdir64, readdir)
|
||||
/* The compat code expects the 'struct direct' with d_ino being a __ino_t
|
||||
instead of __ino64_t. */
|
||||
# include <shlib-compat.h>
|
||||
# if IS_IN(rtld)
|
||||
weak_alias (__readdir64, readdir64)
|
||||
# else
|
||||
versioned_symbol (libc, __readdir64, readdir64, GLIBC_2_2);
|
||||
# endif
|
||||
# if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
|
||||
# include <olddirent.h>
|
||||
# define __READDIR attribute_compat_text_section __old_readdir64
|
||||
|
Reference in New Issue
Block a user