[PATCH] libc/sysdeps/linux/common/sendfile.c: fix sendfile64 visibility
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Thu Jul 4 09:27:09 UTC 2013
On Wed, Jul 03, 2013 at 05:59:32PM -0400, Anthony G. Basile wrote:
>From: "Anthony G. Basile" <blueness at gentoo.org>
>
>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.
Applied, thanks!
More information about the uClibc
mailing list