apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jus...@erenkrantz.com>
Subject RE: [PATCH] Support for opening large files
Date Tue, 11 Feb 2003 06:57:14 GMT
--On Tuesday, February 11, 2003 7:32 AM +0100 Sascha Schumann 
<sascha@schumann.cx> wrote:

>     glibc-2.3 includes sendfile64 supported by default.  It has
>     been available since Oct 2002.  Distributors are already
>     shipping the new glibc, so it can be considered mainstream by
>     now.

Right, but there are lots of Linux boxes that aren't using glibc-2.3. 
I know RedHat uses a bleeding edge glibc, but I still believe Debian 
uses glibc-2.2 which contains the #error.  (Thom?)

I think the problem would be widespread enough where we have to 
consider what to do and realize that a large number of people might 
be affected.

My previous thought was to do a platform-specific disabling of large 
files on Linux (perhaps enabling it where there is a good version of 
glibc).  But, no one ever responded to that idea.  I think it makes 
the most sense, but I don't know.

>     Furthermore, even prior to glibc-2.3, according to David S.
>     Miller in [1].
>         "[sendfile64] is [an] old hat, and appears in every
>         current vendor kernel I am aware of and is in 2.5.x as
>         well."

The fact that sys/sendfile.h has a #error precludes the fact that the 
kernel might well support it.  -- justin

View raw message