apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: [PATCH] Linux 2.4 may or may not implement sendfile64()
Date Fri, 05 Jan 2007 11:42:55 GMT
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

Mime
View raw message