mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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:
@ -1,5 +1,8 @@
|
|||||||
2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
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
|
* sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
|
||||||
requirements.
|
requirements.
|
||||||
(_DIRENT_MATCHES_DIRENT64): Undef
|
(_DIRENT_MATCHES_DIRENT64): Undef
|
||||||
|
@ -107,4 +107,6 @@ __getdents64 (int fd, char *buf, size_t nbytes)
|
|||||||
scratch_buffer_free (&tmpbuf);
|
scratch_buffer_free (&tmpbuf);
|
||||||
return (char *) dp - buf;
|
return (char *) dp - buf;
|
||||||
}
|
}
|
||||||
|
#if _DIRENT_MATCHES_DIRENT64
|
||||||
strong_alias (__getdents64, __getdents)
|
strong_alias (__getdents64, __getdents)
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user