[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnadmin hotcopy failing

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2004-05-13 22:02:33 CEST

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
Received on Thu May 13 22:10:28 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.