summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2010-05-17 02:25:42 +0000
committerschwarze <schwarze@openbsd.org>2010-05-17 02:25:42 +0000
commita9b416707cf74adbd9a217ab6a714cfeef6af1a9 (patch)
tree66fe4f8a1d9af7c4448f212b213219f9a3d6109b /lib/libc
parentRewrite the main mdoc text parser, mdoc_ptext() (diff)
downloadwireguard-openbsd-a9b416707cf74adbd9a217ab6a714cfeef6af1a9.tar.xz
wireguard-openbsd-a9b416707cf74adbd9a217ab6a714cfeef6af1a9.zip
The function term_flushln() had effectively forked wrt to bsd.lv.
This is the OpenBSD part of the main step to bring it back in sync. At the same time, this prevents trailing whitespace in the output: We delay writing blanks until we are sure printable characters follow. This is achieved by * not using vbl any longer for the control of line breaking * such that vbl can sum up all kinds of white space * before writing a word, printing all the blanks collected in vbl * within the word, adding NBSP chars to vbl, then continuing with the word * after the word, adding blanks to vbl, then starting the next word
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions