From 50511ca46641eb76aef1ca3fd96ad1e97f95c199 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Thu, 19 Apr 2018 15:19:19 -0300 Subject: 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. --- sysdeps/unix/sysv/linux/mips/mips64/getdents64.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/unix/sysv') 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 -- cgit 1.4.1