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

Re: Large file support with apr 1.2.8, svn 1.4.3, and linux?

From: Peter Samuelson <peter_at_p12n.org>
Date: 2007-03-29 07:35:04 CEST

[Chris Frost]
> svn: Commit failed (details follow):
> svn: Can't write to file '/home/frost/repo_photos/db/transactions/9-1.txn/rev': File too large

That's odd.

> Both apr-util and subversion's config.logs shows they knows to define
> _LARGEFILE64_SOURCE. subversion's SWIG includes set _FILE_OFFSET_BITS=64,
> but no one else seems to do so, at least in their configure log.

That's normal: apr doesn't need _FILE_OFFSET_BITS=64 or
_LARGEFILE_SOURCE, it uses the facilities of _LARGEFILE64_SOURCE
instead.

Could you run the svn command using strace, and note particularly the
open() and write() calls involving files in the transactions directory?
apr _should_ be calling open with the O_LARGEFILE flag, but who knows.

Received on Thu Mar 29 07:35:27 2007

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

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