(dropping users@)
Julian Foad wrote:
The attached patch should fix it; not yet tested.
I have opened https://issues.apache.org/jira/browse/SVN-4707
and attached the patch there. (Patch v2 is same as v1 but with tweaked
log message.)
We briefly discussed testing. It's a pretty obvious fix, but ideally we
would write a regression test. We don't want to store 2 GB* of temporary
data during a test run (that would make testing onerous) so we would
need to write a test that generates data, streams it to the rdump 'dump'
function, pipes that into the rdump 'load', and checks that it parses
without throwing errors, without storing the loaded data.
Anyone interested in writing such a test?
* Actually we should test with over 4 GB because as well as the "%ld"
bug I found and fixed a "%lu" bug in nearby code at the same time.
- Julian