summaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
authorMartin Langhoff <martin@catalyst.net.nz>2006-05-23 20:08:58 +1200
committerJunio C Hamano <junkio@cox.net>2006-05-23 01:16:08 -0700
commit55cad8429954c7d08d0ce86155e7f9adf2f4c6ad (patch)
tree376c7847b1c2e84e0e13cd7dc1d3831b7693d75f /strbuf.c
parente73aefe4fdba0d161d9878642c69b40d83a0204c (diff)
downloadgit-55cad8429954c7d08d0ce86155e7f9adf2f4c6ad.tar.gz
cvsimport: introduce _fetchfile() method and used a 1M buffer to read()
File retrieval from the socket is now moved to _fetchfile() and we now cap reads at 1MB. This should limit the memory growth of the cvsimport process. Signed-off-by: Martin Langhoff <martin@catalyst.net.nz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions