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 12:58:12 GMT
On Fri, Jan 05, 2007 at 06:07:18AM -0600, Peter Samuelson wrote:
> 
> [Joe Orton]
> > OK nice.  Why does this require run-time detection rather than simply
> > a smarter configure test (or apr_hints.m4 blacklist or whatever)?
> 
> Because we (Debian) ship binaries rather than source code.  Our users
> run these binaries on both kernel 2.4 and kernel 2.6.  Without runtime
> detection you get two bad choices.

Oh, that argument again :) That fact makes this feature no different to 
many of the other features which APR detects at configure-time.

Yes, APR could detect system features at run-time, and yes, doing so 
would be a complete maintenance nightmare having a small net negative 
run-time cost to 99% of users, and no, it's not worth doing.

joe

Mime
View raw message