Bug#265819: libc6: sendfile64() should fall back to sendfile() if not implemented by the OS
At Sun, 15 Aug 2004 03:02:47 -0400,
Andres Salomon wrote:
> (Not filing as wishlist because, well, it's a bug.)
> If sendfile64() fails because the underlying OS doesn't implement it (as
> linux 2.4.x fails to do for a number of architectures), it currently
> just breaks. If large file support is turned on, then there's no way
> for user applications to fall back to normal sendfile(). Since glibc
> already takes care of replacing sendfile() calls w/ sendfile64(), it
> should also handle calling sendfile() if sendfile64() isn't implemented
> by the OS.
Do you have a test case?