diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-04-19 15:19:19 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-04-19 15:21:07 -0300 |
commit | 50511ca46641eb76aef1ca3fd96ad1e97f95c199 (patch) | |
tree | 9aaeb62cb838547d4b321417518c53bf09b37040 | |
parent | 77b93390283cc4927f08ceb1bc19f2b2b1dee7c2 (diff) | |
download | glibc-50511ca46641eb76aef1ca3fd96ad1e97f95c199.tar.gz glibc-50511ca46641eb76aef1ca3fd96ad1e97f95c199.tar.xz glibc-50511ca46641eb76aef1ca3fd96ad1e97f95c199.zip |
Fix mips64n32 getdents alias
Fix commit 298d0e3 for mips64n32, checked on a mips64n32-linux-gnu build. * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64): Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/mips64/getdents64.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 13b9640935..274941b6d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org> + * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64): + Only alias to __getdents for _DIRENT_MATCHES_DIRENT64. + * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha requirements. (_DIRENT_MATCHES_DIRENT64): Undef diff --git a/sysdeps/unix/sysv/linux/mips/mips64/getdents64.c b/sysdeps/unix/sysv/linux/mips/mips64/getdents64.c index 63afb2667e..136baad6dc 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/getdents64.c +++ b/sysdeps/unix/sysv/linux/mips/mips64/getdents64.c @@ -107,4 +107,6 @@ __getdents64 (int fd, char *buf, size_t nbytes) scratch_buffer_free (&tmpbuf); return (char *) dp - buf; } +#if _DIRENT_MATCHES_DIRENT64 strong_alias (__getdents64, __getdents) +#endif |