diff options
author | 2017-08-21 15:42:58 +0000 | |
---|---|---|
committer | 2017-08-21 15:42:58 +0000 | |
commit | 3710e49fec4d10ef6acfb714eabf077a7aaa3ce4 (patch) | |
tree | cf937ada8dc7babca0b24a0985053b5fa7c435e1 /regress/char/unicode | |
parent | dc43a8e1c289a4a212ae1fbc154869d416d4b81b (diff) | |
download | mandoc-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 'regress/char/unicode')
0 files changed, 0 insertions, 0 deletions