aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/chars.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-08-21 15:42:58 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-08-21 15:42:58 +0000
commit3710e49fec4d10ef6acfb714eabf077a7aaa3ce4 (patch)
treecf937ada8dc7babca0b24a0985053b5fa7c435e1 /chars.c
parentdc43a8e1c289a4a212ae1fbc154869d416d4b81b (diff)
downloadmandoc-3710e49fec4d10ef6acfb714eabf077a7aaa3ce4.tar.gz
mandoc-3710e49fec4d10ef6acfb714eabf077a7aaa3ce4.tar.zst
mandoc-3710e49fec4d10ef6acfb714eabf077a7aaa3ce4.zip
When the stdout stream gets broken, there is no point in reading
any more input files, and it would be misleading to start a parser, because that would show randomly truncated text. Instead, print an error message and exit the program. Issue found by Leah Neukirchen <leah at vuxu dot org>, who was surprised to see half a manpage when her /tmp/ overflew.
Diffstat (limited to 'chars.c')
0 files changed, 0 insertions, 0 deletions