diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-07-03 17:59:32 -0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-07-04 11:25:17 +0200 |
commit | 905775f198e8990dc8458d5879b934ebdc623ef4 (patch) | |
tree | 1722791fdb698c21811de16da1b21d4055989890 /test/API/unistd.SUSv4.syms | |
parent | f9ae36ebf1d8e300c77dfd16b55514ea5a96751f (diff) |
libc/sysdeps/linux/common/sendfile.c: fix sendfile64 visibility
Commit a83ea57a50 introduces code for falling back on sendfile64
when the sendfile syscall is not available. However, as written,
that code leads to sendfile64 being globally hidden in situations
where __NR_sendfile and __USE_LARGEFILE64 are defined. In this case,
the flow executes strong_alias_untyped(sendfile,sendfile64) in
libc/sysdeps/linux/common/sendfile.c and libc_hidden_proto(sendfile64)
in include/sys/sendfile.h, but nowhere does it do libc_hidden_def(sendfile64).
This patch adds the needed libc_hidden_def(sendfile64).
This breaks, for example, xfsprogs on x86_64. Reported by mardok4
in IRC.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test/API/unistd.SUSv4.syms')
0 files changed, 0 insertions, 0 deletions