diff options
author | Nicolas Pitre <nico@cam.org> | 2006-02-21 20:41:41 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-22 00:36:09 -0800 |
commit | fe474b588b3cb1c23c987a3d0f9e869a160d82d2 (patch) | |
tree | 3cd775ae87a14604cf302d905e5fc409fab380b0 /Documentation/asciidoc.conf | |
parent | cac251d0bc4c68b7ab36026990aff3c783913ae6 (diff) | |
download | git-fe474b588b3cb1c23c987a3d0f9e869a160d82d2.tar.gz |
diff-delta: fold two special tests into one plus cleanups
Testing for realloc and size limit can be done with only one test per
loop. Make it so and fix a theoretical off-by-one comparison error in
the process.
The output buffer memory allocation is also bounded by max_size when
specified.
Finally make some variable unsigned to allow the handling of files up to
4GB in size instead of 2GB.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/asciidoc.conf')
0 files changed, 0 insertions, 0 deletions