Support of files/raw partitions > 4Gb

Russ Allbery rra at stanford.edu
Sat Feb 10 22:21:02 UTC 2007


Kirill Berezin <kyb at online.ru> writes:

> I am talking about both cnfs and buffindexed buffers.  CNFS seems
> working fine with 64 bit offset. But buffindexed method requires a
> little change to support a correct reading of buffers' length over 4 Gb.
> Constant at line 316 of buffindexed.c must have an explicit type
> conversion:

> len = strtoul(l, NULL, 10) * 1024;     /* This value in KB in decimal */
>                                              ^ must be `(off_t)1024`

This problem is now fixed in Subversion.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list