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.
This commit is contained in:
Adhemerval Zanella 2018-04-19 15:19:19 -03:00
parent 77b9339028
commit 50511ca466
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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