diff options
author | 2018-12-14 20:55:17 +0000 | |
---|---|---|
committer | 2018-12-14 20:55:17 +0000 | |
commit | ff5089e6ea580947e7bf6ca2749f4ae0f93b9c8e (patch) | |
tree | b3d7af989bb5baf6854e7b0f46b44ab910bc4586 /usr.bin/mandoc/man_html.c | |
parent | Back out the optimization in rev 1.13, it does not update flags on (diff) | |
download | wireguard-openbsd-ff5089e6ea580947e7bf6ca2749f4ae0f93b9c8e.tar.xz wireguard-openbsd-ff5089e6ea580947e7bf6ca2749f4ae0f93b9c8e.zip |
Revisit the optimization for unbuffered I/O. We can use the buffer
passed to fread(3) directly in the FILE * and call __srefill() in
a loop without the memcpy(). This preserves the expected behavior
in all cases. OK semarie@, "This is neat" tedu@
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
0 files changed, 0 insertions, 0 deletions