summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_html.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2018-12-14 20:55:17 +0000
committermillert <millert@openbsd.org>2018-12-14 20:55:17 +0000
commitff5089e6ea580947e7bf6ca2749f4ae0f93b9c8e (patch)
treeb3d7af989bb5baf6854e7b0f46b44ab910bc4586 /usr.bin/mandoc/man_html.c
parentBack out the optimization in rev 1.13, it does not update flags on (diff)
downloadwireguard-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