diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2012-02-02 04:19:35 -0600 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2012-02-02 05:33:13 -0600 |
commit | 2d54b9ea8b99df7b448f64a7847f7f3879964e12 (patch) | |
tree | c169a5c91beda46183b1f51c13c9038b2dc8de2b /t/t4013/diff.diff-tree_--pretty_--stat_initial | |
parent | vcs-svn: rename check_overflow and its arguments for clarity (diff) | |
download | tgif-2d54b9ea8b99df7b448f64a7847f7f3879964e12.tar.xz |
vcs-svn: allow import of > 4GiB files
There is no reason in principle that an svn-format dump would not
be able to represent a file whose length does not fit in a 32-bit
integer. Use off_t consistently (instead of uint32_t) to represent
file lengths so we can handle that.
Most of our code is already ready to do that without this patch and
already passes values of type off_t around. The type mismatch due to
stragglers was noticed with gcc -Wtype-limits.
Inspired-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty_--stat_initial')
0 files changed, 0 insertions, 0 deletions