mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Fix ARM posix_fadvise64 namespace (bug 17793).
ARM posix_fadvise calls __posix_fadvise64_l64, to which posix_fadvise64 is a strong alias, but posix_fadvise is a POSIX function and posix_fadvise64 isn't. This patch changes it into a weak alias. Tested for ARM that this fixes the corresponding linknamespace test failures. [BZ #17793] * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64): Define as weak alias not strong alias.
This commit is contained in:
@ -35,4 +35,4 @@ __posix_fadvise64_l64 (int fd, off64_t offset, off64_t len, int advise)
|
||||
return 0;
|
||||
return INTERNAL_SYSCALL_ERRNO (ret, err);
|
||||
}
|
||||
strong_alias (__posix_fadvise64_l64, posix_fadvise64);
|
||||
weak_alias (__posix_fadvise64_l64, posix_fadvise64);
|
||||
|
Reference in New Issue
Block a user