summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-04-19 15:19:19 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-04-19 15:21:07 -0300
commit50511ca46641eb76aef1ca3fd96ad1e97f95c199 (patch)
tree9aaeb62cb838547d4b321417518c53bf09b37040 /sysdeps/unix
parent77b93390283cc4927f08ceb1bc19f2b2b1dee7c2 (diff)
downloadglibc-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.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/getdents64.c2
1 files changed, 2 insertions, 0 deletions
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