apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject large file support (was: Re: Memory comsumption of svn)
Date Thu, 28 Feb 2002 20:00:16 GMT
[ moved from dev@subversion.tigris.org mailing list ]

On Thu, Feb 28, 2002 at 09:21:36AM -0800, Justin Erenkrantz wrote:
> This shouldn't be too much of a problem because BDB will try to
> hide that, but APR will *not* handle large files on Linux since
> they disable sendfile() with 64bit files.  Since APR is
> network-oriented and we like sendfile(), we don't allow 64-bit
> file mode in APR on Linux.  And, consequently, we've never enabled
> 64-bit support on Unix - only Win32 has largefile support in
> APR.  -- justin

Couldn't we have large file support in APR for Linux, but just not allow
sendfile on those files?

I find it pretty awful to not have large file support in APR, from a basic
portability library standpoint.


Greg Stein, http://www.lyra.org/

View raw message