summaryrefslogtreecommitdiff
path: root/vcs-svn/line_buffer.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2012-02-02 10:19:35 (GMT)
committerJonathan Nieder <jrnieder@gmail.com>2012-02-02 11:33:13 (GMT)
commit2d54b9ea8b99df7b448f64a7847f7f3879964e12 (patch)
treec169a5c91beda46183b1f51c13c9038b2dc8de2b /vcs-svn/line_buffer.h
parentce8ebcdaf31dd56955635808bba1a6df50601563 (diff)
downloadgit-2d54b9ea8b99df7b448f64a7847f7f3879964e12.zip
git-2d54b9ea8b99df7b448f64a7847f7f3879964e12.tar.gz
git-2d54b9ea8b99df7b448f64a7847f7f3879964e12.tar.bz2
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 'vcs-svn/line_buffer.h')
0 files changed, 0 insertions, 0 deletions