aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile.depend
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-03-17 07:33:07 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-03-17 07:33:07 +0000
commit9ef16b96be75b66de146889e69c4b0130a151f7c (patch)
tree9d76d19fb3c50fd84c2ed518bd1e2810199a9254 /Makefile.depend
parent6f012a44632546e74fbbe0018e81fd78f3f61049 (diff)
downloadmandoc-9ef16b96be75b66de146889e69c4b0130a151f7c.tar.gz
mandoc-9ef16b96be75b66de146889e69c4b0130a151f7c.tar.zst
mandoc-9ef16b96be75b66de146889e69c4b0130a151f7c.zip
When the user exits the pager before the pager has drained all input
from man(1), man(1) dies from SIGPIPE. Exiting man(1) is fine in this case, generating more output would be pointless, but without handling SIGPIPE, the exit code from man(1) was wrong and csh(1) printed an ugly message "Broken pipe". Fix this by handling SIGPIPE explicitly. Issue noticed by deraadt@.
Diffstat (limited to 'Makefile.depend')
0 files changed, 0 insertions, 0 deletions