On Fri, Jan 05, 2007 at 05:19:44AM -0600, Peter Samuelson wrote: > apr incorrectly detects the sendfile64() syscall on Linux 2.4 on > non-i386 architectures. The problem is that on Linux, libc is not > tightly coupled to your installed kernel, so libc exposes syscalls > which may or may not be implemented kernel-side, requiring runtime > detection of errno==ENOSYS.
OK nice. Why does this require run-time detection rather than simply a smarter configure test (or apr_hints.m4 blacklist or whatever)? It's a kernel bug/lack-of-feature which is either fixed or not in whatever kernel you build on, surely? Regards, joe
