diff options
author | Tim Newsome <tim@sifive.com> | 2021-05-04 11:03:34 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2021-05-11 11:31:19 -0700 |
commit | 726c06ca3da324cd521a2f7074ea339ec26259d5 (patch) | |
tree | 1fa479fdcd2b18f07c83834cac28f4a0091b243c /git-hooks/commit-msg | |
parent | dd3dea88f70709103387458848240e07597c6f3c (diff) | |
download | riscv-openocd-726c06ca3da324cd521a2f7074ea339ec26259d5.zip riscv-openocd-726c06ca3da324cd521a2f7074ea339ec26259d5.tar.gz riscv-openocd-726c06ca3da324cd521a2f7074ea339ec26259d5.tar.bz2 |
Speed up a little again by buffering writes.
We need to read more than one byte at a time to get the original speed
back. OpenOCD mailing list suggests using fread/fwrite instead of
implementing our own buffering as we did here.
Change-Id: I261c743ee6c40c54bfd57a919f074512a1c40bee
Diffstat (limited to 'git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions