summaryrefslogtreecommitdiff
path: root/archive-zip.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-12-16 14:39:37 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-16 14:39:37 -0800
commit87afe9a5ed759668e35513c44eacd2fd393ba658 (patch)
tree3f4afa5b8c9a896cee7795a3dcc1de8c0037b13d /archive-zip.c
parentconvert: track state in LF-to-CRLF filter (diff)
downloadtgif-87afe9a5ed759668e35513c44eacd2fd393ba658.tar.xz
lf_to_crlf_filter(): tell the caller we added "\n" when draining
This can only happen when the input size is multiple of the buffer size of the cascade filter (16k) and ends with an LF, but in such a case, the code forgot to tell the caller that it added the "\n" it could not add during the last round. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive-zip.c')
0 files changed, 0 insertions, 0 deletions