Page MenuHomeFreeBSD

man: Exit cleanly on SIGPIPE.
ClosedPublic

Authored by des on Sun, May 11, 10:02 PM.
Tags
None
Referenced Files
F118783607: D50302.id155562.diff
Sun, Jun 1, 9:23 PM
F118781906: D50302.id155305.diff
Sun, Jun 1, 8:59 PM
F118737797: D50302.id155562.diff
Sun, Jun 1, 9:48 AM
Unknown Object (File)
Sun, Jun 1, 5:30 AM
Unknown Object (File)
Thu, May 29, 9:07 AM
Unknown Object (File)
Wed, May 28, 4:12 PM
Unknown Object (File)
Wed, May 28, 4:12 PM
Unknown Object (File)
Wed, May 28, 4:12 PM
Subscribers

Details

Summary

The first attempt at addressing this simply suppressed SIGPIPE, which
resulted in mandoc printing out error messages instead. This was then
reverted, but the pipefail was (correctly) left in, so man still
returned a nonzero exit code if you quit a page before the end.

Fixes: 14a5c1068d37, a85d870007e7
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64094
Build 60978: arc lint + arc unit