On 8/27/06, Ben Collins-Sussman <sussman@red-bean.com> wrote:
>
>
>
> On 8/23/06, Jeremy Cook <jeremy.cook@bccs.uib.no> wrote:
> >
> > I am not all that familiar with the internals of subversion, nor do I
> > want to be, but I do want it to handle large files. So if someone can
> > reply and acknowledge whether this is a bug and whether there are any
> > forseen problems with the fix that I found, I will be happy to make a
> > report to the issue tracker.
>
>
> I can't see why you'd need those special patches' to handle large files; I
> have no idea why the gentleman who posted those patches felt there was some
> great complex problem to solve.
>
> All you need to do is recompile subversion against some version of apr and
> apr-util > 1.0. Subversion ships with apr 0.9 in its own tarball, but
> that's only for legacy compatibility reasons. If you rebuild against a
> modern apr, large files should be handled just fine. There's no need for
> secret renegade patches. :-)
Note that there were bug fixes to APR that corrected some issues with
large files. Specifically, in APR 1.2.6 I fixed an issue that made
lots of things with large files not work (the filePtr field in
apr_file_t was only 32 bits long). So you need at least APR 1.2.6.
It's certainly possible that there are other problems lurking, but I'm
not aware of any at the moment, and everything I tried with really big
files worked once I corrected that issue. With APR 0.9.x, this stuff
is much more flaky, so I'd be surprised if it worked at all.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 27 22:22:07 2006