You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Joe Orton <jo...@manyfish.co.uk> on 2004/05/13 20:02:33 UTC

Re: svnadmin hotcopy failing

Moved from users@... OK... apr_file_copy() can actually be extended to
use O_LARGEFILE where available and hence can magically copy >2gb files,
even in APR 0.9 with a 32-bit off_t.  Except when it's called with
APR_FILE_SOURCE_PERMS, it needs to stat the source file, which will fail
on a >2gb file.

One solution to this is to add a flag to "svnadmin hotcopy" so that it
doesn't copy the file permissions; would that be reasonable?

Another solution would be to add a really evil hack to APR 0.9 so that
apr_file_copy() uses stat64() where available, and it can then both copy
large files *and* their permissions.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org