]> git.cameronkatri.com Git - bsd-progress.git/commit
Dynamically allocate the buffer used for reading data from the input
authorbriggs <briggs@NetBSD.org>
Wed, 6 Jun 2007 17:49:14 +0000 (17:49 +0000)
committerbriggs <briggs@NetBSD.org>
Wed, 6 Jun 2007 17:49:14 +0000 (17:49 +0000)
commit55b8a30049a0797789c8929094bbb074cfd7469d
treeb9bdc8210bb0dd0571d029141f0d1c3af78d1e27
parentcf25235c9be0863486788bf1e4b6dbde3c6f5476
Dynamically allocate the buffer used for reading data from the input
handle and default to 64k instead of the 1k (BUFSIZ) static buffer.
This makes a large difference in performance of some applications.
Make the buffer size tunable from the command line.
progress.1
progress.c